A collection of commonly used HTML codes (a must for beginners)

yulia
Release: 2018-09-20 09:23:52
Original
20910 people have browsed it

For front-end staff, they are exposed to div and CSS every day. Some knowledge is easy to forget if it is not commonly used. Recently, I summarized the commonly used HTML codes and wrote an article to facilitate my future review and share it. To everyone, hope it is useful to you.

File type (put at the beginning and end of the file)

File subject (must be placed at the beginning and end of the file) "Header" block)

Header (descriptive information, such as "theme")

Style (File body)

Title (from 1 to 6, there are six levels of selection)

Title alignment

DIV

Alignment of distinction

Citation Block

(usually indented)

Emphasis (usually Shown in italics)

Special emphasis on (usually shown in bold)

Citation (usually shown in italics Display)

Code (for displaying source code)

Sample

Keyboard input< ;KBD>

Variable

Definition (some browsers do not provide it)

Address

Big characters

Small characters

Appearance-related tags (author’s customized expression)

Bold

Italic

Bottom line (Some browsers still don’t provide it)

Strikethrough (Some browsers still don’t provide it)

Subscript

Superscript

Typewriter body (Use single Space font display)

Predetermined format

 (preserve the size of spaces in the file)

Predetermined format width

< /PRE> (calculated in characters) 

Align to the center

(both text and pictures are acceptable)

Shine (The most mocked tag ever)

Font size (from 1 to 7)

Change font size

Base font size (from 1 to 7; defaults to 3)

Font color ($$ is the color code)

The above is the detailed content of A collection of commonly used HTML codes (a must for beginners). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!