HTML (HyperText Markup Language) contains the basic building blocks for websites and web pages.
Web browsers use HTML to display text, images and other content.
HTML can embed scripts in languages such as JavaScript which affect the behavior of web pages. Web browsers can also refer to CSS (Cascading Style Sheets) to define the appearance and layout of text and other material.
CSS enables the separation of document content from document presentation, including colors and fonts. For example, minor edits in a separate CSS file could change the font type, size & color for an entire website if all of the web pages refer to that CSS file to define the presentation of text.
This separation provides flexibility in the presentation; effective use of CSS reduces complexity and repetition allowing for site wide presentation changes to be executed quickly. |