This document provides an overview of HTML and CSS basics:
- HTML is used to define the structure and content of web pages using tags like <html>, <head>, <body>, etc. CSS is used to style and lay out HTML elements.
- The <head> holds metadata like the page title and links to CSS. The <body> contains visible elements that define the page structure.
- CSS rules are made up of selectors that target HTML elements paired with declarations in curly braces. Common selectors include classes, IDs, and element types.
- CSS files are linked in the <head> with <link> tags. Paths to other files can be relative to the current