Lets start with what HTML (HyperText Markup Language) is and why it is important. HTML is the standard markup language for Web pages. This page you read, is prepared with HTML. With HTML you can create your own Website.
An HTML page looks like:
Therefore, you can see some elements on the page, such as:
<hr> is a section break and <br> is a line break in the text.
To modify the elements, yo can add some attributes inside elements such as:
CSS stands for Cascading Style Sheets.
CSS describes how HTML elements are to be displayed on screen, paper, or in other media.
CSS can be added to HTML elements in 3 ways:
Inline - by using the style attribute in HTML elements
Internal - by using a <style> element in the <head> section
External - by using an external CSS file
These are the CSS attributes:
To cover a block, as a container; you can use block elements such as div (block-level) & span (inline).
For the layout pf the page, objects such as nav, section and aside are used.