How Web formats text and paragraphs
This article mainly explains "Web how to format text and paragraphs", the content of the explanation is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Web how to format text and paragraphs" bar!
Summary of content:
Tag syntax and attribute syntax of title words (H2 maximum ~ H7 minimum)
Types and functions of text formatting tags
Use font font markup
Use paragraph and typesetting markup
Use all kinds of formatting tags to design simple Web pages
Principles of Web page design
Simplicity: to meet people's practical and needs as the goal, concise and accurate.
Consistency: each page in the site uses the same margins, and each element in the page is consistent with the color and style of the entire page and the site.
Good contrast: the purpose of contrast is to highlight key content in order to attract visitors and encourage them to explore deeper content.
Add text messages to the Web page
Basic syntax:
Add content here
Syntax description:
The body of the document is defined in body.
The body contains all the contents of the document (such as text, hyperlinks, images, tables, lists, sound, video, and so on).
The content contained in the body tag is displayed on the page.
Mark word mark
The title is defined by ~ and other tags.
Basic syntax:
No. 1 title word
For example:
Web front-end development technology Web front-end development technology
Add spaces and special symbols
In HTML files, adding spaces is different from the way other documents add spaces, adding spaces through code control in web pages and entering spaces through keyboard spacebar in other editors.
Basic grammar