HTML tag full name and function introduction

HTML tag full name and function introduction

Alphabetical

DTD: Indicates in which XHTML 1.0 DTD this tag is allowed. S=Strict, T=Transitional, F=Frameset.

Label

Full name

describe

DTD

<!--...-->

Defines a comment.

STF

<!DOCTYPE>

Defines the document type.

STF

<a>

anchor

Define the anchor.

STF

<abbr>

abbreviation

Define abbreviations.

STF

<acronym>

acronym

Define an abbreviation using only the first letters.

STF

<address>

address

Defines the contact information for the document's author or owner.

STF

<applet>

applet

Deprecated. Defines the embedded applet.

TF

<area>

area

Defines the area inside the image map.

STF

<b>

Blog

Defines boldface words.

STF

<base>

base

Defines the default address or default target for all links in the page.

STF

<basefont>

Basefont

Deprecated. Define the default font, color, or size for text on a page.

TF

<bdo>

bidirectional override

Defines the text direction.

STF

<big>

big

Defines large text.

STF

<blockquote>

blockquote

Defines a long quote.

STF

<body>

Body

Defines the body of the document.

STF

<br>

Break

Defines a simple line break.

STF

<button>

Button

Define a push button.

STF

<caption>

Caption

Defines the table title.

STF

<center>

Center

Deprecated. Defines centered text.

TF

<cite>

Cite

Define citation.

STF

<code>

Code

Defines computer code text.

STF

<col>

Column

Defines the property values ​​for one or more columns in a table.

STF

<colgroup>

Colgroup

Defines a group of columns in a table for formatting.

STF

<dd>

definition description

Definition defines a description for an item in a list.

STF

<del>

delete

Defines the text to be deleted.

STF

<dir>

Deprecated. Defines a directory listing.

TF

<div>

division

Defines a section in a document.

STF

<dfn>

defining instance

Definitions Defines the project.

STF

<dl>

definition list

Defines a list of definitions.

STF

<dt>

definition term

Defines an item in a definition list.

STF

<em>

emphasized

Defines emphasized text.

STF

<fieldset>

Fieldset

Defines a border around elements in a form. Domain Set

STF

<font>

Font

Deprecated. Define the font, size and color of the text.

TF

<form>

Form

Defines an HTML form for user input.

STF

<frame>

Frame

Defines the window or frame of a frameset.

F

<frameset>

Frameset

Defines a frameset.

F

<h1> to <h6>

Header1 to hrader6

Defines the HTML title.

STF

<head>

Head

Defines information about the document.

STF

<hr>

horizontal

Defines the horizontal line.

STF

<html>

hypertext markup language

Defines an HTML document.

STF

<i>

italic

Defines italic characters.

STF

<iframe>

inline frame

Defines an inline frame.

TF

<img>

Image

Defines an image.

STF

<input>

Input

Defines an input control.

STF

<ins>

inserted

Definition is inserted into the text.

STF

<isindex>

Deprecated. Defines a searchable index associated with a document.

TF

<kbd>

keyboard

Defines the keyboard text.

STF

<label>

Label

Defines the annotation for an input element.

STF

<legend>

legend

Defines the title of the domain set element.

STF

<li>

List

Defines the items of a list.

STF

<link>

Link

Defines the relationship between the document and external resources.

STF

<map>

Map

Defines an image map.

STF

<menu>

Menu

Deprecated. Defines a menu list.

TF

<meta>

Meta

Defines meta information about an HTML document.

STF

<noframes>

Noframes

Defines alternative content for users who don't support frames.

TF

<noscript>

noscript

Defines alternative content for users who do not support client script. (Defines a scriptless section)

STF

<object>

Object

Defines an embedded object.

STF

<ol>

Ordered list

Defines an ordered list.

STF

<optgroup>

option group

Defines an option group.

STF

<option>

Option

Defines the options for a drop-down list.

STF

<p>

paragraph

Defines a paragraph.

STF

<param>

Param

Defines the parameters of an object.

STF

<pre>

preformatted

Defines preformatted text.

STF

<q>

quotation

Defines a short quote.

STF

<s>

Deprecated. Defines strikethrough text.

TF

<samp>

Sample

Defines a computer code sample.

STF

<script>

Script

Defines the client script.

STF

<select>

Select

Defines a selection list (drop-down list).

STF

<small>

Small

Defines small text.

STF

<span>

Span

Defines a section in a document.

STF

<strike>

Deprecated. Defines strikethrough text.

TF

<strong>

Strong

Defines emphasized text.

STF

<style>

Style

Defines the style information for the document.

STF

<sub>

Subscript

Defines subscript text.

STF

<sup>

Superscript

Defines superscript text.

STF

<table>

Table

Define the table.

STF

<tbody>

Table body

Defines the main content of the table.

STF

<td>

Table data cell

Defines the cells in the table.

STF

<textarea>

Textarea

Defines a multi-line text input control.

STF

<tfoot>

Table foot

Defines the content of table notes (footnotes) in the table.

STF

<th>

Table head cell

Defines the header cells in a table.

STF

<thead>

Table head

Defines the header content in the table.

STF

<title>

Title

Defines the title of the document.

STF

<tr>

Table row

Defines a row in a table.

STF

<tt>

Teletype

Defines typewriter text.

STF

<u>

Underline

Deprecated. Defines underlined text.

TF

<ul>

Unordered list

Defines an unordered list.

STF

<var>

Variable

Defines the variable part of the text.

STF

<xmp>

Deprecated. Defines preformatted text.

Sort by functional category

DTD: Indicates in which XHTML 1.0 DTD this tag is allowed. S=Strict, T=Transitional, F=Frameset.

Label

describe

DTD

<!DOCTYPE>

Defines the document type.

STF

<html>

Defines an HTML document.

STF

<body>

Defines the body of the document.

STF

<h1> to <h6>

Defines the HTML title.

STF

<p>

Defines a paragraph.

STF

<br>

Defines a simple line break.

STF

<hr>

Defines the horizontal line.

STF

<!--...-->

Defines a comment.

STF

Label

describe

DTD

<b>

Defines bold text.

STF

<font>

Deprecated. Define the font, size and color of the text

TF

<i>

Defines italic text.

STF

<em>

Defines emphasized text.

STF

<big>

Defines large text.

STF

<strong>

Defines text with a stronger tone of voice.

STF

<small>

Defines small text.

STF

<sup>

Defines superscript text.

STF

<sub>

Defines subscript text.

STF

<bdo>

Defines the direction of the text.

STF

<u>

Deprecated. Defines underlined text.

TF

Label

describe

DTD

<pre>

Defining preformatted text

STF

<code>

Defines computer code text.

STF

<tt>

Defines typewriter text.

STF

<kbd>

Defines the keyboard text.

STF

<var>

Defines the variable part of the text.

STF

<dfn>

Definitions Defines the project.

STF

<samp>

Defines a computer code sample.

STF

<xmp>

Deprecated. Defines preformatted text.

Label

describe

DTD

<acronym>

Define an abbreviation using only the first letters.

STF

<abbr>

Define abbreviations.

STF

<address>

Defines the contact information for the document's author or owner.

STF

<blockquote>

Defines a block quote.

STF

<center>

Deprecated. Defines centered text.

TF

<q>

Defines a short quote.

STF

<cite>

Define citation.

STF

<ins>

Definition is inserted into the text.

STF

<del>

Defines the text to be deleted.

STF

<s>

Deprecated. Defines strikethrough text.

TF

<strike>

Deprecated. Defines strikethrough text.

TF

Label

describe

DTD

<a>

Define the anchor.

STF

<link>

Defines the relationship between the document and external resources.

STF

Label

describe

DTD

<frame>

Defines the window or frame of a frameset.

F

<frameset>

Defines a frameset.

F

<noframes>

Defines alternative content for users who don't support frames.

TF

<iframe>

Defines an inline frame.

TF

Label

describe

DTD

<form>

Defines an HTML form for user input.

STF

<input>

Defines an input control.

STF

<textarea>

Defines a multi-line text input control.

STF

<button>

Defines a button.

STF

<select>

Defines a selection list (drop-down list).

STF

<optgroup>

Defines a group of related options in a select list.

STF

<option>

Defines the options in a select list.

STF

<label>

Defines the annotation for an input element.

STF

<fieldset>

Defines a border around elements in a form.

STF

<legend>

Defines the title of the fieldset element.

STF

<isindex>

Deprecated. Defines a searchable index associated with a document.

TF

Label

describe

DTD

<ul>

Defines an unordered list.

STF

<ol>

Defines an ordered list.

STF

<li>

Defines the items of a list.

STF

<dir>

Deprecated. Defines a directory listing.

TF

<dl>

Defines a list of definitions.

STF

<dt>

Defines an item in a definition list.

STF

<dd>

Definition defines a description for an item in a list.

STF

<menu>

Deprecated. Defines a menu list.

TF

Label

describe

DTD

<img>

Defines an image.

STF

<map>

Defines an image map.

STF

<area>

Defines the area inside the image map.

STF

Label

describe

DTD

<table>

Defining a table

STF

<caption>

Defines the table title.

STF

<th>

Defines the header cells in a table.

STF

<tr>

Defines a row in a table.

STF

<td>

Defines the cells in the table.

STF

<thead>

Defines the header content in the table.

STF

<tbody>

Defines the main content of the table.

STF

<tfoot>

Defines the content of table notes (footnotes) in the table.

STF

<col>

Defines the property values ​​for one or more columns in a table.

STF

<colgroup>

Defines a group of columns in a table for formatting.

STF

Label

describe

DTD

<style>

Defines the style information for the document.

STF

<div>

Defines a section in a document.

STF

<span>

Defines a section in a document.

STF

Label

describe

DTD

<head>

Defines information about the document.

STF

<title>

Defines the title of the document.

STF

<meta>

Defines meta information about an HTML document.

STF

<base>

Defines the default address or default target for all links in the page.

STF

<basefont>

Deprecated. Define the default font, color, or size for text on a page.

TF

Label

describe

DTD

<script>

Defines the client script.

STF

<noscript>

Defines alternative content for users who do not support client script.

STF

<applet>

Deprecated. Defines the embedded applet.

TF

<object>

Defines an embedded object.

STF

<param>

Defines the parameters of an object.

STF

Core Attributes

The following tags do not provide the following attributes: base, head, html, meta, param, script, style, and title elements.

property

value

describe

class

classname

Specifies the class name of an element (classname)

id

id

Specifies the unique id of an element

style

style_definition

Specifies the inline style of an element

title

text

Specifies additional information about an element (can be displayed in a tooltip)

Language Attributes

The following tags do not provide the following attributes: base, br, frame, frameset, hr, iframe, param, and script elements.

property

value

describe

dir

ltr | rtl

Sets the text direction of the content within the element.

lang

language_code

Sets the language code for the content in the element. Language code reference

xml:lang

language_code

Sets the language code for the content of an element in an XHTML document. Language code reference

Keyboard Attributes

property

value

describe

accesskey

character

Sets a keyboard shortcut for accessing an element.

tabindex

number

Sets the tab order of the element.

<<:  Detailed tutorial on building a continuous integration delivery environment based on Docker+K8S+GitLab/SVN+Jenkins+Harbor

>>:  CSS to achieve the effect of rotating flip card animation

Recommend

How to modify the scroll bar style in Vue

Table of contents First of all, you need to know ...

Simple implementation of html hiding scroll bar

1. HTML tags with attributes XML/HTML CodeCopy co...

CSS3 countdown effect

Achieve results Implementation Code html <div ...

Detailed explanation of Nginx Rewrite usage scenarios and code examples

Nginx Rewrite usage scenarios 1. URL address jump...

MySQL 8.0 installation tutorial under Linux

This article introduces how to install MySQL 8.0 ...

Tutorial on installing mysql under centos7

Recently, I plan to deploy a cloud disk on my hom...

W3C Tutorial (3): W3C HTML Activities

HTML is a hybrid language used for publishing on ...

CSS3 to achieve floating cloud animation

Operation effect html <head> <meta chars...

js implements the classic minesweeper game

This article example shares the specific code of ...

Chrome monitors cookie changes and assigns values

The following code introduces Chrome's monito...

How to install ionCube extension using pagoda

1. First install the pagoda Installation requirem...

Tutorial on upgrading from Centos7 to Centos8 (with pictures and text)

If you upgrade in a formal environment, please ba...

Detailed explanation of chmod command usage in Linux

chmod Command Syntax This is the correct syntax w...