HTML_CSS_Quick_Revision_Notes
HTML_CSS_Quick_Revision_Notes
- Meta tags provide metadata for a web page (e.g., author, character set, description).
- They reside in the <head> section of HTML, influencing SEO and browser behavior.
- Example tags:
- Meta tags are not visible to users but are critical for SEO, mobile responsiveness, and search
engine crawling.
Tables in HTML
- Table Element (<table>): Used to organize data into rows and columns.
- Elements include: <tr> (rows), <th> (headers), and <td> (data cells).
Example:
<table>
</table>
- Use CSS to enhance tables with borders, padding, and responsive design:
* Block-Level Elements:
- Take up the full width of their container and start on a new line.
- Examples: <div>, <p>, <section>
* Inline Elements:
- Responsive Design:
Uses fluid grids, relative units, and media queries to adjust to any screen size.
Example:
- Adaptive Design:
Example:
- Quirks Mode:
Browsers render the page like older versions for backward compatibility.
- Standards Mode:
Middle ground between quirks and standards, maintaining some older behaviors.
Quick Recap Highlights
- Tables are versatile for data presentation; enhance them with CSS.