List of HTML tags
| mark | type | Name or meaning | effect | Remark |
| File tags | ||||
| <HTML> | ● | Document announcement | Let the browser know that this is an HTML file | |
| <HEAD> | ● | beginning | Provide overall file information | |
| <TITLE> | ● | title | Define the file title and will be displayed at the top of the browser | |
| <BODY> | ● | main body | Design file format and content | |
| Typesetting marks | ||||
| <!--Annotation--> | ○ | Description mark | Add instructions to the file, but not displayed | |
| <P> | ○ | Paragraph mark | Leave a blank line between words, pictures, tables, etc. | |
| <BR> | ○ | Line break mark | Let the characters, pictures, and tables be displayed on the next line | |
| <HR> | ○ | Horizontal line | Insert a horizontal line | |
| <CENTER> | ● | Center | Let characters, pictures, tables, etc. be displayed in the middle | be opposed to |
| <PRE> | ● | Preset format | Let the files be displayed in the original code arrangement | |
| <DIV> | ● | Positioning mark | Set the placement of characters, pictures, tables, etc. | |
| <NOBR> | ● | No line break | Let the text not be changed because it is too long | |
| <WBR> | ● | Recommended to change the line | Preset line breaking parts | |
| Font tags | ||||
| <STRONG> | ● | Strong tone | Produce the effect of bold fonts | |
| <B> | ● | Bold mark | Produce a font bold effect | |
| <EM> | ● | Emphasize mark | Italic effect of font | |
| <I> | ● | Italic marking | Italic effect of font | |
| <TT> | ● | Monowidth font | Courier font, the letter width is the same | |
| <U> | ● | Add underline | Add underline | be opposed to |
| <H1> | ● | Level 1 title tag | Make the font bigger, the higher the series, the smaller it is | |
| <H2> | ● | Secondary title tag | Make the font bigger | |
| <H3> | ● | Level 3 title tag | Make the font bigger | |
| <H4> | ● | Level 4 title mark | Make the font bigger | |
| <H5> | ● | Level 5 title tag | Make the font bigger | |
| <H6> | ● | CET-6 title mark | Make the font bigger | |
| <FONT> | ● | Font tags | Set font, size, color | be opposed to |
| <BASEFONT> | ○ | Baseline Font Tags | Set all fonts, sizes, and colors | be opposed to |
| <BIG> | ● | Font enlargement | Make the font slightly bigger | |
| <SMALL> | ● | Font reduction | Slightly reduce the font | |
| <STRIKE> | ● | Add a delete line | Add a delete line to the text | be opposed to |
| <CODE> | ● | Programming | The font is slightly widened like <TT> | |
| <KBD> | ● | Keyboard words | The font is slightly widened, single blank | |
| <SAMP> | ● | example | The word w is slightly turtle<TT> | |
| <VAR> | ● | variable | Italic effect | |
| <CITE> | ● | Italic marking | Italic effect | |
| <BLOCKQUOTE> | ● | Retract to the right | Text is reduced to the right | |
| <DFN> | ● | Definition of the word | Italic effect | |
| <ADDRESS> | ● | Address mark | Italic effect | |
| <SUB> | ● | Subscript words | Text subscript | |
| <SUP> | ● | Superscript | Text superscript | |
| List tags | ||||
| <OL> | ● | Sequence list | List items will be arranged in numbers and alphabetical order | |
| <UL> | ● | Disordered list | List items will be arranged with solid dots as symbols | |
| <LI> | ○ | List of items | Items in the list, one marker per line | |
| <MENU> | ● | List of options | Bullets can be specified with type parameters. | be opposed to |
| <DIR> | ● | Directory list | Same as <menu> | be opposed to |
| <DL> | ● | Definition list | The list appears in two layers | |
| <DT> | ○ | Define an entry | List item title | |
| <DD> | ○ | Define content | List item content | |
| Table marking | ||||
| <TABLE> | ● | Table marking | Set the parameters of this table | |
| <CAPTION> | ● | Table title | Make a column to fill in the form title | |
| <TR> | ● | Table columns | Set the columns of this table | |
| <TD> | ● | Table bar | Set the column of this table | |
| <TH> | ● | Table header | Equivalent to <TD>, but the font inside it will become thicker | |
| Form tags | ||||
| <FORM> | ● | Form tags | Determine the operation mode of the form | |
| <TEXTAREA> | ● | Text box | Provide text input bar | |
| <INPUT> | ○ | Enter a mark | Determine the input form | |
| <SELECT> | ● | Select Tag | Create a pop-up scroll list | |
| <OPTION> | ○ | Options | Each list option | |
| Graphic markers | ||||
| <IMG> | ○ | Graphic markers | Used to insert graphics and set graphics properties | |
| Link tags | ||||
| <A> | ● | Link tags | Join the link | |
| <BASE> | ○ | Benchmark | You can convert relative URLs to absolute and specified links | |
| Frame marking | ||||
| <FRAMESET> | ● | Frame Settings | Setting the frame | |
| <FRAME> | ○ | Window settings | Setting windows in the frame | |
| <IFRAME> | ○ | In-page frame | Insert a frame in a web page | IE |
| <NOFRAMES> | ● | Framework not supported | Tips when setting the browser does not support the framework | |
| Image map | ||||
| <MAP> | ● | Image map name | Set the image map name | |
| <AREA> | ○ | Link area | Set up link areas | |
| multimedia | ||||
| <BGSOUND> | ○ | Background sound | Let the background play music or sound | IE |
| <EMBED> | ○ | multimedia | Add sound, music or image | |
| Other marks | ||||
| <MARQUEE> | ● | Carousel light | Let the text move | IE |
| <BLINK> | ● | Flashing text | Make the text flash | NC |
| <ISINDEX> | ○ | In-page finder | You can enter keywords to find this page | be opposed to |
| <META> | ○ | Starting instructions | Provide information about this page to the browser | |
| <LINK> | ○ | Relationship definition | Define the relationship between this file and other URLs | |
| StyleSheet | ||||
| <STYLE> | ● | Style table | Control web page layout | |
| <span> | ● | Custom tags | Use independently or with stylesheets | |
1. ● It means that the mark belongs to the enclosing mark, that is, the end mark is required.
2. ○ means that the mark is an empty mark, that is, no end mark is required.
3. IE means that this tag is only applicable to Internet Explorer.
4. NC means that this tag is only applicable to Netscape Communicator.
5. Oppose it means that the tag is not approved by W3C. Usually this tag is customized by Microsoft or Netscape and has been supported by everyone, but there are other options with the same or better functions in the HTML standard.
6. Deprecation means that the tag has been abandoned by W3C and is an outdated tag, but HTML has backward compatibility, so the browser still supports it.
7. Newly indicates that the tag is newly added in HTML 4.0.
If you don't feel very detailed, you can refer to the following article HTML elements (tags) and the introduction to use.
-This article was reproduced from the Internet in the early days, and cannot be traced, and the source is not indicated, so it is specifically stated.