HTML TutorialsHtml What is
In the html <link> tag is used to identify a link to another style sheet page and which we will use inside of <head> tag of the html page and commonly which is use to linking external style sheet. If you need to give hyperlink for external html page use <a> tag because in the link tag will not support.which tag has no end tag and xhtml <link> tag you must close properly.
Html <link> tag optional attributes are charset,href,hreflang,media,rel,rev,target,type and standard attributes are class, dir, id, lang, style, title, xml:lang and event attributes are onclick, ondblclick, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onkeydown, onkeypress and onkeyup.
html is a Hyper Text Markup Language version 5 . Which is using to structuring and presenting content for the internet or world wide web.
In the above example has been applied green color for <h1> tag and red color for <p> tag from external style sheet.