0% found this document useful (0 votes)
1 views5 pages

HTML

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)
1 views5 pages

HTML

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

HTML Tags Reference (100+ Tags)

A. Basic Structure Tags


<html> – Root element

<head> – Head section

<body> – Body section

<title> – Page title

<meta> – Metadata

<link> – External resources (CSS, etc.)

<style> – Internal CSS

<script> – JavaScript code

<base> – Base URL for links

<noscript> – Shown when JavaScript is disabled

B. Text & Formatting Tags


<h1> to <h6> – Headings (levels 1 to 6)

<p> – Paragraph

<br> – Line break

<hr> – Horizontal line

<b> – Bold text

<strong> – Important text

<i> – Italic text

<em> – Emphasized text

<mark> – Highlighted text

<small> – Smaller text

<del> – Deleted text

<ins> – Inserted text


<sub> – Subscript

<sup> – Superscript

<u> – Underlined text

<abbr> – Abbreviation

<blockquote> – Long quotation

<q> – Inline quotation

<cite> – Citation

<code> – Code snippet

<pre> – Preformatted text

<kbd> – Keyboard input

<s> – Strikethrough

<span> – Inline container

<div> – Block container

C. Links & Media Tags


<a> – Anchor/hyperlink

<img> – Image

<figure> – Self-contained content

<figcaption> – Caption for <figure>

<audio> – Audio file

<video> – Video file

<source> – Media source

<track> – Subtitles/captions for media

<picture> – Multiple image sources

<map> – Image map

<area> – Clickable region in image map

<iframe> – Inline frame


<embed> – Embed external resource

<object> – Embed plugin or document

<param> – Parameters for <object>

D. Lists
<ul> – Unordered list

<ol> – Ordered list

<li> – List item

<dl> – Definition list

<dt> – Definition term

<dd> – Definition description

E. Tables
<table> – Table

<thead> – Table header

<tbody> – Table body

<tfoot> – Table footer

<tr> – Table row

<th> – Table header cell

<td> – Table data cell

<caption> – Table caption

<col> – Column settings

<colgroup> – Column group

F. Forms
<form> – Form container

<input> – Input field

<textarea> – Multiline input


<button> – Clickable button

<label> – Input label

<select> – Dropdown list

<option> – Option in dropdown

<optgroup> – Group of options in dropdown

<fieldset> – Group related elements

<legend> – Title for <fieldset>

<datalist> – List of predefined input options

<output> – Result of a calculation

G. Semantic & Structural Tags


<header> – Page/section header

<footer> – Page/section footer

<nav> – Navigation links

<main> – Main content

<section> – Thematic grouping of content

<article> – Independent article

<aside> – Sidebar content

<address> – Contact information

H. Web Components & Dynamic Content


<canvas> – Graphics via JavaScript

<svg> – Vector graphics

<details> – Expandable content

<summary> – Summary for <details>

<dialog> – Dialog box

<template> – Client-side content template


<slot> – Placeholder for Shadow DOM

<wbr> – Word break opportunity

I. Deprecated/Obsolete Tags
<font> – Font style

<center> – Center-aligned text

<big> – Bigger text

<tt> – Teletype text

<strike> – Strikethrough text

<frame> – Used in frameset (not supported in HTML5)

<frameset> – Frame container

<noframes> – Alt for browsers not supporting frames

<acronym> – Acronym (use <abbr> instead)

<applet> – Java applet (use <object> instead)

<basefont> – Base font (obsolete)

<bgsound> – Background sound (IE only)

<dir> – Directory list (use <ul>)

<menuitem> – Context menu command (deprecated)

<isindex> – Single-line input prompt (obsolete)

<marquee> – Scrolling text (non-standard)

<blink> – Blinking text (non-standard)

You might also like