Explain what an external style sheet (CSS document) is for in a HTML document and write a line of HTML code to import one

Information about how the browser should render HTML elements (such as font styles, sizes and colours) can be specified using CSS in an external document, rather than within the HTML tags. This means the HTML document is clearer to read, and all the style information is in a single place, making it easier to maintain. The following line tells the browser to use the stylesheet.css file when rendering the HTML document its contained in: <link rel = "stylesheet" href = "stylesheet.css>"

TB
Answered by Thomas B. HTML and CSS tutor

1619 Views

See similar HTML and CSS Mentoring tutors

Related HTML and CSS Mentoring answers

All answers ▸

What is the correct HTML to link a stylesheet?


How do you link a CSS document to a HTML file?


Many different data types can be stored on a computer system. Five common data types are string, Boolean, real, character and integer. Give suitable examples of data that could be held in each data type.


What is CSS used for?


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences