Beginners can learn HTML by understanding some HTML tags. The introduction can help beginners learn HTML, or it can be used as a reference for friends who have already started! These introduced HTML tags do not necessarily fully conform to the XHTML specification. You should make some choices when making actual layout, for example: the B tag and the FONT tag are not in compliance with the XHTML specification. 1------------------------------------------------------------------------- <!----> Note: Comment tags, the content between “<!--” and “-->” will not be displayed in the browser. 2------------------------------------------------------------------------- <!DOCTYPE> Description: Describes the HTML DTD that the file complies with, used to briefly describe 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: Describes the starting location or target of the hyperlink. It is required to define either the herf= or name= attribute. The 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: Describes an abbreviation. This flag does not affect the display of text in the browser. End tag required 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 the address, signature and author information. The 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 on the page. The 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: Describes the outline shape of the hyperlink hotspot in the client image map 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 > Description: Displays text in bold. The closing tag is required. 9-------------------------------------------------------------------------------- < BASE HREF=url TARGET=window_name|_blank|_parent|_self|_top > Description: Describes the base address of the document, and the browser converts relative addresses based on this. Can only be used in the HEAD tag, no closing tag is required. 10-------------------------------------------------------------------------------- < BASEFONT CLASS=classname COLOR=color FACE=font ID=value LANG=language SIZE=n > Description: Describes the basic font type used to display text in the default font. Can be used within the HEAD tag, no closing tag is required. Previous Page 1 2 Next Page Read Full Article |
<<: Native JS to achieve book flipping effects
>>: Shell script to monitor MySQL master-slave status
Reminder: Whether it is planning, designing, or de...
Table of contents 10,000 pieces of data were lost...
After reading the following article, you can depl...
Table of contents use Use of EsLint Add a profile...
Copy code The code is as follows: <select> ...
Effect The effect diagram is as follows Implement...
"We're writing our next set of mobile pr...
system: VMTOOLs Download: Link: https://pan.baidu...
Preface: Speaking of sandboxes, our minds may ref...
Things to note 1. First, you need to create a my....
Preface In the previous article, I shared with yo...
Using NULL in comparison operators mysql> sele...
Linux file permissions First, let's check the...
Table of contents Question: When the button is cl...
Without further ado, here are the renderings. The...