Categories
CSS HTML

Starting with HTML and CSS

What is HTML and what is CSS?

HTML (HyperText Markup Language) and CSS (Cascading Style Sheet) are two of the core technologies for building websites. HTML is the foundation of all websites. HTML defines the structure of the web page, while CSS defines its style.

html and css

Example:

HTML

<p>This is a paragraph.</p>

This is a paragraph.

HTML + CSS

<p style="color: red;">This is a paragraph.</p>

This is a paragraph.

Note: Adding the CSS to HTML, we can easily change the colour and the font (or any other property) of the paragraph.


Enjoy coding!