Attributes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Attributes

which attribute specified to open the linked document?

27th Mar 2018, 4:23 PM
Vigneshwari J
2 Answers
+ 2
If you're linking to another document, you'll want to use the anchor tags <a></a> and the attribute will be 'href' to specify the document being linked to. EXAMPLE: <a href="https://www.SoloLearn.com">SoloLearn Rocks!</a> If you're talking about linking a CSS document to your HTML document, then you'll use the <link> tags for it and specify the location via the 'href' attribute. EXAMPLE: <link rel="stylesheet" type="text/css" href="Style.css">
27th Mar 2018, 4:32 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 1
tq
5th Apr 2018, 5:20 PM
Vigneshwari J