Home > Article > Web Front-end > Some commonly used tags in html
1、HTML(hyper text markup language) is hypertext markup language and is a static web page.
Note: The difference between static web pages and dynamic web pages:
(1) To modify a static page, you must change the code (static web pages do not necessarily have dynamic effects) ); Commonly used formats html, htm
(2) Dynamic web pages need to read the database; Commonly used formats.php; .aspx (.net);.jsp (java)
2 and HTML are tag languages and must have a start tag. For example:
Double tag:
Single tag Tag:
#Note: (1) The attribute setting must be in the start tag, and some attribute values can be omitted. Such as:
Baidu Baidu The two display effects are the same. (2) Double labels are mainly content control labels; single labels generally play a control role.3、Comment syntax
Format: Note : (1) The shortcut key ctrl+/ can be used in Hbuilder (2) All characters are in English, and so are others.4、Basic tag
(1)Web page content (2 )Header tag mainly contains control things use with using using ’ to use - . body>Web page content Main attributes: bgcolor; background; text (font color); margin (4)5
、Format control tag : Main attributes: color (font color); face (font) Style); size
; ; Slanted## Background color
The above is the detailed content of Some commonly used tags in html. For more information, please follow other related articles on the PHP Chinese website!