


HTML Tutorial: Collection of Commonly Used HTML Tags (4)_HTML/Xhtml_Web Page Production
The HTML tags introduced may not fully comply with the XHTML specification. You should make some choices when making the actual layout. For example, B tags and FONT tags do not comply with XHTML specifications.
Related articles: Beginners get in touch with HTML and learn some HTML tags (3)
The HTML tags introduced may not fully conform to XHTML
These introduced HTML tags may not fully comply with the XHTML specification. You should make some choices when making the actual layout. For example, B tags and FONT tags do not comply with XHTML specifications.
Related articles: Beginners get in touch with HTML and learn about some HTML tags (3)
The HTML tags introduced do not necessarily fully comply with the XHTML specification. You should make some choices when making the actual layout. For example, B tags and FONT tags do not comply with XHTML specifications.
61---------------------------------------- -------------------------------------
ACCESSKEY=key
ALIGN=ABSBOTTOM | ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE |
RIGHT | TEXTTOP | TOP
CLASS=classname
CLASSID=id
CODE=url
CODEBASE=url
CODETYPE=media-type
DATA=url
DATAFLD=colname
DATASRC=#ID
HEIGHT=n
ID=value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
NAME=name
STYLE=css1-properties
TABINDEX=n
TITLE=text
TYPE=MIME-type
WIDTH=n
event = script
>
Description: Insert an object into the HTML document. A closing tag is required.
62------------------------------------------------ ----------------------------
ID=value
LANG =language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
START=n
STYLE=css1-properties
TITLE=text
TYPE=1 | a | A | i | I
event = script
>
Description: Create an ordered list. A closing tag is required.
63------------------------------------------------ ----------------------------------
CLASS=classname
ID =value
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
SelectED
VALUE=value
event = script
>
Description: Define a selection item for the Select element. The closing tag is optional.
64------------------------------------------------ ----------------------------------
ALIGN=CENTER | LEFT | RIGHT
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>
Description: Represents a paragraph. A closing tag is required.
65------------------------------------------------ ----------------------------------
DATAFLD=colname
DATAFORMATAS =HTML |TEXT
DATASRC=#ID
NAME=name
VALUE=value
>
Description: Set parameters for the object. Valid for APPLET, EMBED, and OBJECT.
66------------------------------------------------ ----------------------------------
ID =value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>
Instructions: HTML tags are not processed and monospaced fonts are displayed. Not recommended. It is recommended to use PRE elements instead.
67------------------------------------------------ ----------------------------------
CLASS=classname
ID =value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>
Instructions: Display text in a fixed-width font, preserving spacing and line breaks. A closing tag is required.
68------------------------------------------------ ----------------------------------
CLASS=classname
ID =value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>
Instructions: Set paragraph spacing for text (smaller). A closing tag is required.
69------------------------------------------------ ----------------------------------
ID =value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>
Instructions: Displays strikethrough text. A closing tag is required.
70------------------------------------------------ ----------------------------------
CLASS=classname
ID =value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>
Instructions: Display text in a smaller font. The default is fixed-width font. A closing tag is required.
#p#
These introduced HTML tags may not fully comply with the XHTML specification. You should make some choices when making the actual layout. For example, B tags and FONT tags do not comply with XHTML specifications.
71------------------------------------------------ ----------------------------------
<script></script>CLASS=classname
DEFER
EVENT=eventname
FOR=element
ID=value
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
SRC=url
TITLE=text
TYPE=MIME-type
>
Description: Indicates the script code area that needs to be interpreted and executed by the script engine. A closing tag is required.
72------------------------------------------------ ----------------------------------
ACCESSKEY=key
ALIGN =ABSBOTTOM | ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE |
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
MULTIPLE
NAME=name
SIZE=n
STYLE=css1-properties
TABINDEX=n
event = script
>
Description: Set up a drop-down selection box and use OPTION to define the selection. A closing tag is required.
73------------------------------------------------ ----------------------------------
CLASS=classname
ID =value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>
Instructions: Display text in a smaller font. A closing tag is required.
74------------------------------------------------ ----------------------------------
CLASS=classname
DATAFLD =colname
DATAFORMATAS=HTML | TEXT
DATASRC=#ID
ID=value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>
Description: Define a range without affecting the page structure and display. A closing tag is required.
75------------------------------------------------ ----------------------------------
ID =value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>
Instructions: Displays strikethrough text. A closing tag is required.
76------------------------------------------------ ----------------------------------
CLASS=classname
ID =value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>
Instructions: Focus on the key points. Usually black body. A closing tag is required.
77------------------------------------------------ ----------------------------------
DISABLED
MEDIA=SCREEN | PRINT | ALL
TITLE=text
TYPE="text/css"
>
Description: Set the display style for the page. A closing tag is required.
78------------------------------------------------ ----------------------------------
CLASS=classname
ID =value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>
Instructions: Display the text in the lower corner in a smaller font. A closing tag is required.
79------------------------------------------------ ----------------------------------
CLASS=classname
ID =value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
STYLE=css1-properties
TITLE=text
event = script
>
Instructions: Display the text in the lower corner in a smaller font. A closing tag is required.
80------------------------------------------------ ----------------------------------
BACKGROUND=url
BGCOLOR=color
BORDER=n
BORDERCOLOR=color
BORDERCOLORDARK=color
BORDERCOLORLIGHT=color
CELLPADDING=n
CELLSPACING=n
CLASS=classname
COLS=n
DATAPAGESIZE=n
DATASRC=#ID
FRAME=ABOVE | BELOW | BORDER | BOX | INSIDES | LHS | RHS | VOID |
VSIDES
HEIGHT=n
ID=value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
RULES=ALL | COLS | GROUPS | NONE | ROWS
STYLE=css1-properties
TITLE=text
WIDTH=n
event = script
>
Description: Define a table. Use TR, TD, and TH elements to define rows, columns, and cells. Optional elements CAPTION, THEAD, TBODY, TFOOT, COLGROUP, and COL can be used to organize tables and process column and column group attributes. A closing tag is required.

The roles of HTML, CSS and JavaScript in web development are: 1. HTML is used to build web page structure; 2. CSS is used to beautify the appearance of web pages; 3. JavaScript is used to achieve dynamic interaction. Through tags, styles and scripts, these three together build the core functions of modern web pages.

Setting the lang attributes of a tag is a key step in optimizing web accessibility and SEO. 1) Set the lang attribute in the tag, such as. 2) In multilingual content, set lang attributes for different language parts, such as. 3) Use language codes that comply with ISO639-1 standards, such as "en", "fr", "zh", etc. Correctly setting the lang attribute can improve the accessibility of web pages and search engine rankings.

HTMLattributesareessentialforenhancingwebelements'functionalityandappearance.Theyaddinformationtodefinebehavior,appearance,andinteraction,makingwebsitesinteractive,responsive,andvisuallyappealing.Attributeslikesrc,href,class,type,anddisabledtransform

TocreatealistinHTML,useforunorderedlistsandfororderedlists:1)Forunorderedlists,wrapitemsinanduseforeachitem,renderingasabulletedlist.2)Fororderedlists,useandfornumberedlists,customizablewiththetypeattributefordifferentnumberingstyles.

HTML is used to build websites with clear structure. 1) Use tags such as, and define the website structure. 2) Examples show the structure of blogs and e-commerce websites. 3) Avoid common mistakes such as incorrect label nesting. 4) Optimize performance by reducing HTTP requests and using semantic tags.

ToinsertanimageintoanHTMLpage,usethetagwithsrcandaltattributes.1)UsealttextforaccessibilityandSEO.2)Implementsrcsetforresponsiveimages.3)Applylazyloadingwithloading="lazy"tooptimizeperformance.4)OptimizeimagesusingtoolslikeImageOptimtoreduc

The core purpose of HTML is to enable the browser to understand and display web content. 1. HTML defines the web page structure and content through tags, such as, to, etc. 2. HTML5 enhances multimedia support and introduces and tags. 3.HTML provides form elements to support user interaction. 4. Optimizing HTML code can improve web page performance, such as reducing HTTP requests and compressing HTML.

HTMLtagsareessentialforwebdevelopmentastheystructureandenhancewebpages.1)Theydefinelayout,semantics,andinteractivity.2)SemantictagsimproveaccessibilityandSEO.3)Properuseoftagscanoptimizeperformanceandensurecross-browsercompatibility.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

SublimeText3 Linux new version
SublimeText3 Linux latest version

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 English version
Recommended: Win version, supports code prompts!
