0% found this document useful (0 votes)
13 views4 pages

HTML Full Theory All Tags

HTML (HyperText Markup Language) is the standard markup language for creating web pages, consisting of various elements that define the structure and content. The document outlines the basic structure of an HTML document, essential tags for formatting text, creating links and images, lists, tables, forms, media, semantic elements, meta tags, iframes, and miscellaneous tags. Each tag serves a specific purpose in web development, contributing to the overall design and functionality of web pages.

Uploaded by

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

HTML Full Theory All Tags

HTML (HyperText Markup Language) is the standard markup language for creating web pages, consisting of various elements that define the structure and content. The document outlines the basic structure of an HTML document, essential tags for formatting text, creating links and images, lists, tables, forms, media, semantic elements, meta tags, iframes, and miscellaneous tags. Each tag serves a specific purpose in web development, contributing to the overall design and functionality of web pages.

Uploaded by

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

Complete HTML Theory - All Tags and

Concepts
What is HTML?
HTML (HyperText Markup Language) is the standard markup language used to create and
design web pages. It describes the structure of web pages using markup. HTML elements
are the building blocks of HTML pages.

HTML Document Structure


<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<!-- Content goes here -->
</body>
</html>

Basic Tags
<!DOCTYPE html>: Defines the HTML version

<html>: Root of an HTML document

<head>: Contains meta-information about the document

<title>: Sets the title of the document

<body>: Contains the contents of the HTML document

Text Formatting Tags


<h1> to <h6>: Headings

<p>: Paragraph

<br>: Line Break

<hr>: Horizontal Rule


<b>: Bold Text

<i>: Italic Text

<u>: Underlined Text

<strong>: Important Text

<em>: Emphasized Text

<mark>: Marked/Highlighted Text

<small>: Smaller Text

<del>: Deleted Text

<ins>: Inserted Text

<sub>: Subscript

<sup>: Superscript

Links and Images


<a href='url'>: Anchor tag for hyperlinks

<img src='path' alt='text'>: Image tag

Lists
<ul>: Unordered List

<ol>: Ordered List

<li>: List Item

<dl>: Definition List

<dt>: Definition Term

<dd>: Definition Description

Tables
<table>: Defines a table

<tr>: Table row

<th>: Table header


<td>: Table data

Forms
<form>: Form tag

<input>: Input field

<textarea>: Text area

<label>: Label for input

<button>: Button

<select>: Dropdown list

<option>: Options in dropdown

Media Tags
<audio>: Embeds audio

<video>: Embeds video

<source>: Media source

Semantic Tags
<header>, <footer>, <article>, <section>, <nav>, <aside>, <main>: Semantic elements

Meta Tags
<meta charset='UTF-8'>: Character encoding

<meta name='viewport' content='width=device-width, initial-scale=1.0'>: Responsive


design

Iframes
<iframe src='url'>: Embeds another HTML page

Miscellaneous Tags
<div>: Generic container

<span>: Inline container


<!-- Comment -->: Adds comments

You might also like