HTML (HyperText Markup Language) is the standard language used to create webpages. It structures content using a system of tags and attributes.
Every HTML document follows a specific structure, made up of essential elements:
<!DOCTYPE html> <html> <head> <title>My First Webpage</title> </head> <body> <h1>Hello, World!</h1> <p>Welcome to learning HTML.</p> </body> </html>
HTML uses tags enclosed in angle brackets to structure web content. Most tags come in pairs β an opening and a closing tag.
Tag | Description |
---|---|
<h1> to <h6> | Defines headings from largest (<h1>) to smallest (<h6>) |
<p> | Creates a paragraph |
<a> | Creates a hyperlink |
<img> | Embeds an image |
Help others discover Technorank Learning by sharing your honest experience.
Your support inspires us to keep building!