append <link> to <head> instead of to <html>.