Describe the advantages and disadvantages of the three main ways of adding CSS to a website

Inline Advantages Ability to override a general css rule for one instance Disadvantages Can lead to style inconsistencies as rules need to be manually applied to each element; Would take a long time to style an entire website External Style Sheet Advantages Allows separating styling from content; Allows for more complex styling through classes etc Disadvantages Must be downloaded first for html to be rendered properly If from a 3rd party source e.g. bootstrap the stylesheet may become unavailable for reasons you don't control Embedded CSS Advantages Shares many advantages with external sheets eg classes and more complex structures; Is always loaded with html so you can't fall foul of a stylesheet being unavailable Disadvantages External HTML will not inherit style rules

TB
Answered by Thomas B. HTML and CSS tutor

2528 Views

See similar HTML and CSS Mentoring tutors

Related HTML and CSS Mentoring answers

All answers ▸

How to go about designing a responsive HTML 5 website


What is the difference between HTML and CSS?


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


How would you structure a table in HTML?


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