Attributes | Sololearn: Learn to code for FREE!



which attribute specified to open the linked document?

3/27/2018 4:23:48 PM

Vigneshwari J

2 Answers

New Answer


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="">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">