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

HTML Tags Ordered by Category: Basic HTML Forms and Input Links Styles and Semantics

The document summarizes HTML tags organized into categories including basic tags, formatting tags, links, styles and semantics, forms and input, lists, tables, frames, images, and programming. It provides the tag name and a brief description for each tag.

Uploaded by

Marion Tan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

HTML Tags Ordered by Category: Basic HTML Forms and Input Links Styles and Semantics

The document summarizes HTML tags organized into categories including basic tags, formatting tags, links, styles and semantics, forms and input, lists, tables, frames, images, and programming. It provides the tag name and a brief description for each tag.

Uploaded by

Marion Tan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

HTML Tags Ordered by Category Links Styles and Semantics

Tag Description Tag Description


Basic HTML Forms and Input <a> Defines a hyperlink <style> Defines style information for a
<link> Defines the relationship between a document
Tag Description document and an external resource (most <div> Defines a section in a document
Tag Description
<!DOCTYPE> Defines the document type used to link to style sheets) <span> Defines a section in a document
<form> Defines an HTML form for user input
<html> Defines an HTML document <nav> Defines navigation links <header> Defines a header for a document or
<input> Defines an input control
<head> Defines information about the section
<textarea> Defines a multiline input control (text
<title>
document
Defines a title for the document
area) Lists <footer> Defines a footer for a document or
section
<button> Defines a clickable button
<body> Defines the document's body Tag Description <main> Specifies the main content of a
<select> Defines a drop-down list
<h1> to Defines HTML headings <ul> Defines an unordered list document
<optgroup> Defines a group of related options in
<h6> <ol> Defines an ordered list <section> Defines a section in a document
a drop-down list
<p> Defines a paragraph <li> Defines a list item <article> Defines an article
<option> Defines an option in a drop-down list
<br> Inserts a single line break <dl> Defines a description list <aside> Defines content aside from the page
<label> Defines a label for an <input>
<hr> Defines a thematic change in the <dt> Defines a term/name in a description list content
element
content <details> Defines additional details that the
<fieldset> Groups related elements in a form <dd> Defines a description of a term/name in a
<!--...--> Defines a comment description list user can view or hide
<legend> Defines a caption for a <fieldset>
element <dialog> Defines a dialog box or window
Formatting <datalist> Specifies a list of pre-defined options Tables <summary> Defines a visible heading for a
for input controls <details> element
Tag Description Tag Description <data> Links the given content with a
<output> Defines the result of a calculation
<b> Defines bold text <table> Defines a table machine-readable translation

Frames
<blockquote> Defines a section that is quoted <caption> Defines a table caption

<cite>
from another source
Defines the title of a work
<th> Defines a header cell in a table Meta Info
Tag Description <tr> Defines a row in a table
<del> Defines text that has been deleted Tag Description
<iframe> Defines an inline frame <td> Defines a cell in a table
from a document <head> Defines information about the document
<thead> Groups the header content in a table
<em> Defines emphasized text
<i> Defines a part of text in an Images <tbody>
<tfoot>
Groups the body content in a table
Groups the footer content in a table
<meta> Defines metadata about an HTML
document
alternate voice or mood
Tag Description <col> Specifies column properties for each
<q>
<small>
Defines a short quotation
Defines smaller text
<img> Defines an image column within a <colgroup> element Programming
<canvas> Used to draw graphics, on the fly, via <colgroup> Specifies a group of one or more
<strong> Defines important text Tag Description
scripting (usually JavaScript) columns in a table for formatting
<sub> Defines subscripted text <script> Defines a client-side script
<figcaption> Defines a caption for a <figure>
<sup> Defines superscripted text <embed> Defines a container for an external
element
<u> Defines text that should be (non-HTML) application
<figure> Specifies self-contained content
stylistically different from normal <object> Defines an embedded object
<picture> Defines a container for multiple
text <param> Defines a parameter for an object
image resources
<svg> Defines a container for SVG graphics

Audio / Video
Tag Description
<audio> Defines sound content
<source> Defines multiple media resources for
media elements (<video>, <audio> and
<picture>)
<track> Defines text tracks for media elements
(<video> and <audio>)
<video> Defines a video or movie
All HTML Attributes
readonly <input>, <textarea> Specifies that the element is read-only
rel <a>, <area>, <link> Specifies the relationship between the current
document and the linked document
Attribute Belongs to Description required <input>, <select>, <textarea> Specifies that the element must be filled out
before submitting the form
action <form> Specifies where to send the form-data when a reversed <ol> Specifies that the list order should be
form is submitted descending (9,8,7...)
alt <area>, <img>, <input> Specifies an alternate text when the original rows <textarea> Specifies the visible number of lines in a text
element fails to display area
autoplay <audio>, <video> Specifies that the audio/video will start playing rowspan <td>, <th> Specifies the number of rows a table cell
as soon as it is ready should span
charset <meta>, <script> Specifies the character encoding sandbox <iframe> Enables an extra set of restrictions for the
checked <input> Specifies that an <input> element should be content in an <iframe>
pre-selected when the page loads (for selected <option> Specifies that an option should be pre-selected
type="checkbox" or type="radio") when the page loads
colspan <td>, <th> Specifies the number of columns a table cell size <input>, <select> Specifies the width, in characters (for <input>)
should span or specifies the number of visible options (for
content <meta> Gives the value associated with the http-equiv <select>)
or name attribute sizes <img>, <link>, <source> Specifies the size of the linked resource
controls <audio>, <video> Specifies that audio/video controls should be src <audio>, <embed>, <iframe>, <img>, <input>, Specifies the URL of the media file
displayed (such as a play/pause button etc) <script>, <source>, <track>, <video>
datetime <del>, <ins>, <time> Specifies the date and time start <ol> Specifies the start value of an ordered list
default <track> Specifies that the track is to be enabled if the style Global Attributes Specifies an inline CSS style for an element
user's preferences do not indicate that another target <a>, <area>, <base>, <form> Specifies the target for where to open the
track would be more appropriate linked document or where to submit the form
disabled <button>, <fieldset>, <input>, Specifies that the specified element/group of type <button>, <embed>, <input>, <link>, <menu>, Specifies the type of element
<optgroup>, <option>, <select>,<textarea> elements should be disabled <object>, <script>,<source>, <style>
height <canvas>, <embed>, <iframe>, <img>, <input>, Specifies the height of the element
<object>, <video> value <button>, <input>, <li>, <option>,<meter>, <pr Specifies the value of the element
hidden Global Attributes Specifies that an element is not yet, or is no ogress>, <param>
longer, relevant width <canvas>, <embed>, <iframe>, <img>, <input>, Specifies the width of the element
href <a>, <area>, <base>, <link> Specifies the URL of the page the link goes to <object>, <video>
id Global Attributes Specifies a unique id for an element wrap <textarea> Specifies how the text in a text area is to be
label <track>, <option>, <optgroup> Specifies the title of the text track wrapped when submitted in a form
lang Global Attributes Specifies the language of the element's
content
list <input> Refers to a <datalist> element that contains
pre-defined options for an <input> element
loop <audio>, <video> Specifies that the audio/video will start over
again, every time it is finished
method <form> Specifies the HTTP method to use when
sending form-data
name <button>, <fieldset>, <form>, <iframe>, <input Specifies the name of the element
>, <map>, <meta>,<object>, <output>, <param
>, <select>, <textarea>
onclick All visible elements. Script to be run when the element is being
clicked
onmouseover All visible elements. Script to be run when a mouse pointer moves
over an element
onmouseup All visible elements. Script to be run when a mouse button is
released over an element
placeholder <input>, <textarea> Specifies a short hint that describes the
expected value of the element
poster <video> Specifies an image to be shown while the video
is downloading, or until the user hits the play
button

You might also like