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

HTML Tags Chart

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)
14 views2 pages

HTML Tags Chart

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

HTML Tags Quick Reference Chart

Tag Simple Use

<html> Root of an HTML document


<head> Contains metadata, links, title, scripts
<title> Defines the title shown on browser tab
<body> Main visible content of page
<h1> to <h6> Headings (largest to smallest)
<p> Paragraph text
<br> Line break
<hr> Horizontal line
<b> / <strong> Bold text
<i> / <em> Italic text
<u> Underline text
<mark> Highlighted text
<small> Smaller text
<sup> Superscript (x²)
<sub> Subscript (H■O)
<a> Hyperlink
<img> Insert image
<video> Embed video
<audio> Embed audio
<iframe> Embed another page (YouTube, map)
<ul> Unordered list
<ol> Ordered list
<li> List item
<dl> Description list
<dt> Description term
<dd> Description detail
<table> Table container
<tr> Table row
<td> Table data cell
<th> Table header cell
<caption> Table title
<form> Form container
<input> User input field
<label> Label for input field
<textarea> Multi-line text input
<button> Clickable button
<select> Dropdown menu
<option> Dropdown option
<fieldset> Group related form inputs
<legend> Caption for fieldset
<header> Page or section header
<nav> Navigation links
<section> Defines a section of content
<article> Independent article or post
<aside> Sidebar content
<footer> Footer of page
<main> Main page content
<figure> Image/illustration group
<figcaption> Caption for figure
<script> Embed JavaScript code
<noscript> Fallback when JS is not supported
<style> Internal CSS styling
<link> Link to external resource (CSS)
<div> Block-level container
<span> Inline container
<meta> Page metadata (charset, description)
<canvas> Drawing/graphics container
<progress> Progress bar
<time> Represents time/date

You might also like