0% found this document useful (0 votes)
4 views

Important_HTML_Tags

basics html tags

Uploaded by

veerasiva1406
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)
4 views

Important_HTML_Tags

basics html tags

Uploaded by

veerasiva1406
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/ 3

Important HTML Tags and Their Usage

1. Basic Structure Tags

<html>: The root element of an HTML page.

<head>: Contains meta-information about the document.

<title>: Specifies the title of the document.

<body>: Contains the content of the document.

2. Text Formatting Tags

<h1> to <h6>: Heading tags, with <h1> being the most important.

<p>: Defines a paragraph.

<a>: Creates hyperlinks.

<strong>: Makes text bold.

<em>: Emphasizes text (usually italicized).

<br>: Inserts a line break.

<hr>: Inserts a horizontal line.

3. List Tags

<ul>: Unordered list.

<ol>: Ordered list.

<li>: List item.


4. Image and Media Tags

<img>: Embeds images.

<video>: Embeds video content.

<audio>: Embeds audio content.

5. Table Tags

<table>: Defines a table.

<tr>: Defines a table row.

<td>: Defines a table cell.

<th>: Defines a table header cell.

6. Form Tags

<form>: Defines an HTML form for user input.

<input>: Defines an input field.

<label>: Defines a label for an <input> element.

<button>: Defines a clickable button.

<select>: Defines a drop-down list.

<option>: Defines an option in a drop-down list.

<textarea>: Defines a multi-line text input.

7. Semantic Tags

<header>: Represents introductory content or navigational links.


<nav>: Defines a set of navigation links.

<section>: Represents a section of a document.

<article>: Represents independent content.

<aside>: Defines content aside from the content it is placed in.

<footer>: Represents a footer for a document or section.

8. Div and Span Tags

<div>: Defines a division or section in an HTML document.

<span>: Used to group inline-elements for styling or scripting.

You might also like