HTML
HTML is used to create the structure of a webpage.
Learn HTMLHTML (HyperText Markup Language) is used to create the structure and content of a webpage.
CSS (Cascading Style Sheets) is used to control the appearance and layout of HTML elements.
Every webpage begins with an HTML structure.
The <h1> tag represents the main heading of a webpage.
The <p> tag is used to display paragraphs and text content.
The <a> tag is used to connect one webpage or resource to another.
| Tag | Purpose |
|---|---|
| <!DOCTYPE html> | Tells the browser this is HTML5 |
| <html> | Root of the webpage |
| <head> | Contains page information |
| <title> | Text shown in browser tab |
| <body> | Visible webpage content |
| <h1> | Main heading |
| <p> | Paragraph |
CSS controls how HTML elements look on the screen.
Selects the HTML element that you want to style.
h1
Defines what you want to change.
color
Defines the value of the property.
blue
This affects all paragraph elements.
Flexbox is useful for arranging elements in rows or columns.
CSS Grid is useful for creating advanced page layouts.
Responsive design ensures that your website works properly on desktops, tablets and mobile devices.
HTML is used to create the structure of a webpage.
Learn HTMLCSS is used to style and design the webpage.
Learn CSSMake your website work properly on all screen sizes.
Learn More