0

Suppose i write something else

instead of stylesheet will it still works. <head> <link rel="stylesheet" href="example.css"> </head> <body> <p>This is my first paragraph.</p> <p>This is my second paragraph. </p> <p>This is my third paragraph. </p> </body> <link rel="students"href="example.css"> will the above code work. i change stylesheet to student.

8th Sep 2017, 5:39 AM
stephen haokip
stephen haokip - avatar
4 Answers
+ 4
If you don't provide a path / uri the browser looks in the current directory.
8th Sep 2017, 2:43 PM
Kirk Schafer
Kirk Schafer - avatar
+ 3
Values allowed for 'rel' attribute are strongly codified: you cannot use a customized one in a valid Html document ^^ (that doesn't mean this will not work, but rather that you cannot predict how each browser will correct it). Anyway, Html is constantly evolving, so there's already official adopted values, and some others not already but pending... but 'student' was not part of first, and I will be surprised if it's part of second :P https://www.w3schools.com/TAgs/att_link_rel.asp
8th Sep 2017, 7:04 AM
visph
visph - avatar
0
no
8th Sep 2017, 7:01 AM
stephen haokip
stephen haokip - avatar