0% found this document useful (0 votes)
7 views2 pages

HTML Tags Uses

The document provides an overview of various HTML tags and their uses, categorized into sections such as Basic Structure, Headings, Formatting, Links, Images, Lists, Tables, Forms, Semantic tags, Media tags, and Miscellaneous tags. Each category includes specific tags along with their functions, such as creating hyperlinks, defining paragraphs, and embedding media. This serves as a quick reference guide for understanding HTML elements and their purposes.

Uploaded by

banoaysha92
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

HTML Tags Uses

The document provides an overview of various HTML tags and their uses, categorized into sections such as Basic Structure, Headings, Formatting, Links, Images, Lists, Tables, Forms, Semantic tags, Media tags, and Miscellaneous tags. Each category includes specific tags along with their functions, such as creating hyperlinks, defining paragraphs, and embedding media. This serves as a quick reference guide for understanding HTML elements and their purposes.

Uploaded by

banoaysha92
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

HTML Tags and Their Uses

1. Basic Structure Tags


<html>: Root element of an HTML document
<head>: Contains metadata
<title>: Defines the title of the document
<body>: Contains the main content of the webpage

2. Heading & Paragraph Tags


<h1> to <h6>: Headings (h1 is largest, h6 is smallest)
<p>: Defines a paragraph

3. Formatting Tags
<b>: Bold text
<i>: Italic text
<u>: Underline text
<strong>: Bold with semantic meaning
<em>: Italic with emphasis

4. Link & Image Tags


<a href='URL'>: Creates a hyperlink
<img src='image.jpg' alt='Image'>: Displays an image

5. List Tags
<ul>: Unordered list (bullets)
<ol>: Ordered list (numbering)
<li>: List item

6. Table Tags
<table>: Defines a table
<tr>: Defines a row in a table
<td>: Defines a cell in a table
<th>: Defines a table heading

7. Form Tags
<form>: Creates a form
<input>: Takes user input
<label>: Defines a label for an input field
<button>: Creates a button
<textarea>: Defines a multi-line text input
<select>: Creates a dropdown list
<option>: Defines options in a dropdown

8. Semantic Tags
<header>: Defines a header section
<nav>: Defines navigation links
<section>: Defines a section
<article>: Defines an article
<aside>: Defines sidebar content
<footer>: Defines a footer section

9. Media Tags
<audio>: Embeds an audio file
<video>: Embeds a video file
<source>: Defines multiple media sources

10. Miscellaneous Tags


<br>: Inserts a line break
<hr>: Inserts a horizontal line
<marquee>: Creates scrolling text (deprecated)
<span>: Inline container for styling
<div>: Block-level container for grouping elements

You might also like