search
HomeWeb Front-endHTML TutorialBeginners 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.                                                                                                                                          

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
The Future of HTML, CSS, and JavaScript: Web Development TrendsThe Future of HTML, CSS, and JavaScript: Web Development TrendsApr 19, 2025 am 12:02 AM

The future trends of HTML are semantics and web components, the future trends of CSS are CSS-in-JS and CSSHoudini, and the future trends of JavaScript are WebAssembly and Serverless. 1. HTML semantics improve accessibility and SEO effects, and Web components improve development efficiency, but attention should be paid to browser compatibility. 2. CSS-in-JS enhances style management flexibility but may increase file size. CSSHoudini allows direct operation of CSS rendering. 3.WebAssembly optimizes browser application performance but has a steep learning curve, and Serverless simplifies development but requires optimization of cold start problems.

HTML: The Structure, CSS: The Style, JavaScript: The BehaviorHTML: The Structure, CSS: The Style, JavaScript: The BehaviorApr 18, 2025 am 12:09 AM

The roles of HTML, CSS and JavaScript in web development are: 1. HTML defines the web page structure, 2. CSS controls the web page style, and 3. JavaScript adds dynamic behavior. Together, they build the framework, aesthetics and interactivity of modern websites.

The Future of HTML: Evolution and Trends in Web DesignThe Future of HTML: Evolution and Trends in Web DesignApr 17, 2025 am 12:12 AM

The future of HTML is full of infinite possibilities. 1) New features and standards will include more semantic tags and the popularity of WebComponents. 2) The web design trend will continue to develop towards responsive and accessible design. 3) Performance optimization will improve the user experience through responsive image loading and lazy loading technologies.

HTML vs. CSS vs. JavaScript: A Comparative OverviewHTML vs. CSS vs. JavaScript: A Comparative OverviewApr 16, 2025 am 12:04 AM

The roles of HTML, CSS and JavaScript in web development are: HTML is responsible for content structure, CSS is responsible for style, and JavaScript is responsible for dynamic behavior. 1. HTML defines the web page structure and content through tags to ensure semantics. 2. CSS controls the web page style through selectors and attributes to make it beautiful and easy to read. 3. JavaScript controls web page behavior through scripts to achieve dynamic and interactive functions.

HTML: Is It a Programming Language or Something Else?HTML: Is It a Programming Language or Something Else?Apr 15, 2025 am 12:13 AM

HTMLisnotaprogramminglanguage;itisamarkuplanguage.1)HTMLstructuresandformatswebcontentusingtags.2)ItworkswithCSSforstylingandJavaScriptforinteractivity,enhancingwebdevelopment.

HTML: Building the Structure of Web PagesHTML: Building the Structure of Web PagesApr 14, 2025 am 12:14 AM

HTML is the cornerstone of building web page structure. 1. HTML defines the content structure and semantics, and uses, etc. tags. 2. Provide semantic markers, such as, etc., to improve SEO effect. 3. To realize user interaction through tags, pay attention to form verification. 4. Use advanced elements such as, combined with JavaScript to achieve dynamic effects. 5. Common errors include unclosed labels and unquoted attribute values, and verification tools are required. 6. Optimization strategies include reducing HTTP requests, compressing HTML, using semantic tags, etc.

From Text to Websites: The Power of HTMLFrom Text to Websites: The Power of HTMLApr 13, 2025 am 12:07 AM

HTML is a language used to build web pages, defining web page structure and content through tags and attributes. 1) HTML organizes document structure through tags, such as,. 2) The browser parses HTML to build the DOM and renders the web page. 3) New features of HTML5, such as, enhance multimedia functions. 4) Common errors include unclosed labels and unquoted attribute values. 5) Optimization suggestions include using semantic tags and reducing file size.

Understanding HTML, CSS, and JavaScript: A Beginner's GuideUnderstanding HTML, CSS, and JavaScript: A Beginner's GuideApr 12, 2025 am 12:02 AM

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

MantisBT

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.