


Beginners get in touch with HTML and learn about some HTML tags (1)_HTML/Xhtml_Web page production
Beginners are exposed to HTML and understand some HTML tags. They are introduced one after another. It can help beginners learn HTML, or it can be used as a reference for friends who have already started!
Beginners come into contact with HTML and understand some HTML tags. They are introduced one after another. It can help beginners learn HTML, or it can be used as a reference for friends who have already started
Beginners are introduced to HTML and learn some HTML tags. It can help beginners learn HTML, or it can be used as a reference for friends who have already started!
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.
1---------------------------------------------- ----------------------------------
Note: Comment mark, the content between "" will not be displayed in the browser.
2------------------------------------------------- --------------------------
Description: describes the HTMLDTD that the file conforms to, which is used to briefly explain the compatibility of the file.
3------------------------------------------------- --------------------------
A
ACCESSKEY= key
CLASS=classname
DATAFLD=colname
DATASRC=#ID
HREF=url
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
METHODS=http-method
NAME=name
REL="stylesheet"
REV="stylesheet"
STYLE=css1-properties
TABINDEX=n
TARGET=window_name |_blank|_parent|_self|_top
TITLE=text
URN=urn
event=script
>
Description: Describe the starting position or target of the hyperlink. It is required that the herf= or name= attribute must be defined. A closing tag is required.
4---------------------------------------------- -------------------------------------
ACRONYM
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Describe an abbreviation. This flag does not affect the display of text in the browser. Requires closing tag
5---------------------------------------------- -------------------------------------
ADDRESS
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Commonly used to describe address, signature and author information. A closing tag is required.
6------------------------------------------------ ----------------------------------
APPLET
ALIGN=ABSBOTTOM|ABSMIDDLE|BASELINE|BOTTOM|LEFT|MIDDLE|
RIGHT|TEXTTOP|TOP
ALT=text
CLASS=classname
CODE=filename
CODEBASE= url
DATAFLD=colname
DATASRC=#ID
HEIGHT=n
HSPACE=n
ID=value
NAME=name
SRC=url
STYLE=css1 -properties
TITLE=text
VSPACE=n
WIDTH=n
event=script
>
Description: Place executable content in the page. A closing tag is required.
7------------------------------------------------ ----------------------------------
AREA
ALT=text
CLASS=classname
COORDS=coordinates
HREF=url
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
NOHREF
SHAPE=CIRC|CIRCLE|POLY|POLYGON|RECT|RECTANGLE
STYLE=css1-properties
TABINDEX=n
TARGET=window_name|_blank|_parent|_self|_top
TITLE=text
event=script
>
Description: Describe the outline shape of the hyperlink hotspot in the client image mapping MAP. No closing tag is required.
8------------------------------------------------ ----------------------------------
B
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Instructions: Display text in bold. A closing tag is required.
9------------------------------------------------ ----------------------------------
BASE
HREF=url
TARGET=window_name|_blank|_parent|_self|_top
>
Description: Describes the basic address of the document, and the browser converts the relative address accordingly. Can only be used in HEAD tags, no closing tag is required.
10------------------------------------------------- ----------------------------------
BASEFONT
CLASS=classname
COLOR=color
FACE=font
ID=value
LANG=language
SIZE=n
>
Description: Describe the basic font type, Text used to display the default font. Can be used in the HEAD tag, no closing tag is required.
#p#
11------------------------------------------------ ----------------------------------
BGSOUND
BALANCE=n
CLASS=classname
ID=value
LANG=language
LOOP=n
SRC=url
TITLE=text
VOLUME=n
>
Instructions: Add background music to the page. Can be used in HEAD tag, closing tag is optional.
12------------------------------------------------ ----------------------------------
BIG
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Description: Display text in a slightly larger font than the currently used font. A closing tag is required.
13------------------------------------------------ ----------------------------------
BLOCKQUOTE
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Note: Quoting content from other resources may be indented and italicized, usually with blank lines above and below. A closing tag is required.
14------------------------------------------------ ----------------------------------
BODY
ALINK=color
BACKGROUND=url
BGCOLOR=color
BGPROPERTIES=FIXED
BOTTOMMARGIN=pixels
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
LEFTMARGIN=pixels
LINK=color
RIGHTMARGIN=pixels
SCROLL=YES|NO
STYLE=css1-properties
TEXT =color
TITLE=string
TOPMARGIN=n
VLINK=color
event=script
>
Description: Describe the beginning and end of the document body. A closing tag is required.
15------------------------------------------------ ----------------------------------
BR
CLASS=classname
CLEAR=ALL|LEFT|RIGHT
ID=value
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
>
Description: Line break mark.
16------------------------------------------------ ----------------------------------
BUTTON
ACCESSKEY=string
CLASS=classname
DATAFLD=colname
DATAFORMATAS=HTML|TEXT
DATASRC=#ID
DISABLED
ID=value
LANG= language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
TYPE=BUTTON|RESET|SUBMIT
event=script
>
Description: Set a button. A closing tag is required.
17------------------------------------------------ -------------------------------------
CAPTION
ALIGN=BOTTOM|CENTER|LEFT|RIGHT|TOP
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
VALIGN=BOTTOM|TOP
event=script
>
Description: Add a title to TABLE. A closing tag is required.
18------------------------------------------------ ----------------------------------
CENTER
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event =script
>
Description: Arrange the content in the center. A closing tag is required.
19------------------------------------------------ ---------------------------------------
CITE
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Briefly describe a quote, and the content is in italics. A closing tag is required.
20------------------------------------------------ ----------------------------------
CODE
CLASS=classname
ID=value
LANG=language
LANGUAGE=JAVASCRIPT|JSCRIPT|VBSCRIPT|VBS
STYLE=css1-properties
TITLE=text
event=script
>
Description: Display a piece of code in a fixed-width font. A closing tag is required.

The future of HTML will develop in a more semantic, functional and modular direction. 1) Semanticization will make the tag describe the content more clearly, improving SEO and barrier-free access. 2) Functionalization will introduce new elements and attributes to meet user needs. 3) Modularity will support component development and improve code reusability.

HTMLattributesarecrucialinwebdevelopmentforcontrollingbehavior,appearance,andfunctionality.Theyenhanceinteractivity,accessibility,andSEO.Forexample,thesrcattributeintagsimpactsSEO,whileonclickintagsaddsinteractivity.Touseattributeseffectively:1)Usese

The alt attribute is an important part of the tag in HTML and is used to provide alternative text for images. 1. When the image cannot be loaded, the text in the alt attribute will be displayed to improve the user experience. 2. Screen readers use the alt attribute to help visually impaired users understand the content of the picture. 3. Search engines index text in the alt attribute to improve the SEO ranking of web pages.

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.


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

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.

Dreamweaver Mac version
Visual web development tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

WebStorm Mac version
Useful JavaScript development tools

Zend Studio 13.0.1
Powerful PHP integrated development environment
