Home  >  Article  >  Web Front-end  >  Some commonly used tags in html

Some commonly used tags in html

迷茫
迷茫Original
2017-03-25 10:36:161545browse

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: Content eg: 2017-03-06

Single tag Tag: eg:

#Note: (1) The attribute setting must be in the start tag, and some attribute values ​​can be omitted. Such as:

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)Encoding format utf8 for international use; GBK for China

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!

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