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 configure mysql on ubuntu server and implement remote connection

Server: Ubuntu Server 16.04 LSS Client: Ubuntu 16...

Do you know how to use the flash wmode attribute in web pages?

When doing web development, you may encounter the...

How to implement digital paging effect code and steps in CSS

A considerable number of websites use digital pagi...

Zen coding for editplus example code description

For example, he enters: XML/HTML Code div#page>...

Vue uses rules to implement form field validation

There are many ways to write and validate form fi...

Implementation of Docker deployment of Django+Mysql+Redis+Gunicorn+Nginx

I. Introduction Docker technology is very popular...

Example of making XML online editor using js

Table of contents Preface The need for online XML...

Example of how to check the capacity of MySQL database table

This article introduces the command statements fo...

VMWare virtual machine 15.X LAN network configuration tutorial diagram

Recently, I have been working on several virtual ...

How to manage users and groups when running Docker

Docker is a management tool that uses processes a...

How to manually scroll logs in Linux system

Log rotation is a very common function on Linux s...

MySQL case when group by example

A mysql-like php switch case statement. select xx...