Skip to main content

Posts

Showing posts with the label Document Structure - Headings - Paragraphs - Links - Images - Forms - Tables - Some commonly used HTML tags

HTML Tags | Document Structure - Headings - Paragraphs - Links - Images - Forms - Tables - Some commonly used HTML tags

What are HTML Tags? HTML (Hypertext Markup Language) uses tags to structure content on the web. Tags are enclosed in angle brackets and come in pairs – an opening tag and a closing tag.  Here are some commonly used HTML tags: 1. Document Structure:    - `<html>`: Defines the root of an HTML document.    - `<head>`: Contains metadata about the HTML document.    - `<title>`: Sets the title of the HTML document.    - `<body>`: Contains the content of the HTML document.    html    <!DOCTYPE html>    <html>      <head>        <title>My HTML Document</title>      </head>      <body>        <!-- Content goes here -->      </body>    </html>     HTML Tags 2. Headings:    - `<h1>` to `<h6...