Beginners learn some HTML tags (1)

Beginners learn some HTML tags (1)

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

Recommend

Website Design Experience Summary of Common Mistakes in Website Construction

Reminder: Whether it is planning, designing, or de...

Example of converting JavaScript flat array to tree structure

Table of contents 10,000 pieces of data were lost...

Docker installation and deployment example on Linux

After reading the following article, you can depl...

vue3+ts+EsLint+Prettier standard code implementation

Table of contents use Use of EsLint Add a profile...

html option disable select select disable option example

Copy code The code is as follows: <select> ...

An example of how to write a big sun weather icon in pure CSS

Effect The effect diagram is as follows Implement...

A brief talk about JavaScript Sandbox

Preface: Speaking of sandboxes, our minds may ref...

How to install and connect Navicat in MySQL 8.0.20 and what to pay attention to

Things to note 1. First, you need to create a my....

MySQL can actually implement distributed locks

Preface In the previous article, I shared with yo...

Mysql NULL caused the pit

Using NULL in comparison operators mysql> sele...

How to operate Linux file and folder permissions

Linux file permissions First, let's check the...

Detailed explanation of the role of key in React

Table of contents Question: When the button is cl...

CSS3+Bezier curve to achieve scalable input search box effect

Without further ado, here are the renderings. The...