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
Header
(descriptive information, such as "theme")Style
BODY> (File body)Title
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!