5.8.6 Condense Css Rules

Question: <link>

Answer: This tag defines a connection between a document and external resource.

Question: rel=”stylesheet”

Answer: This attribute specifies the relationship between the current document and the linked document/resource, it goes inside of the link tag.

Question: type=”text/css”

Answer: This attribute specifies the Internet media type (formerly known as MIME type), it goes inside of the link tag.

Question: href=”stylesheet.css”

Answer: For the ‘link’ tag, specifies the location (URL) of the external resource (most often a style sheet file).

For the ‘a’ tag, this attribute specifies the URL of the page the link goes to.

Question: <a href=”about.html”>click here</a>

Answer: This is the proper way to link a document to another document.

Donation Page

Support Our Work

Do you appreciate the value this website provides? If so, please consider donating to help keep it running. Your donation will go a long way in helping us continue to provide the same quality of content and services. Every bit helps, and your support is greatly appreciated. Thank you for your generosity.