Introduction to HTML: Introduction to HTML
Introduction to HTML
1. What is HTML?
Hypertext markup language:
Hypertext: More powerful than common text
Markup Language: a language that describes content using a set of tags. It is not a programming language.
2. How to Use HTML?
Syntax and specification:
1.All html file extensions end with .html#.htm. We recommend that you end with html.
2. The entire html file consists of the header and body parts.
3.html tags are composed of j tags and end tags (
)
4.html labels ignore the size. We recommend that you use lower case letters.
3. Learning HTML-related tags
3.1 title label
When the title label is used, n gradually decreases from 1 to 6. 6 for more than 6
Features: bold and Black Display, occupying a single line, with a certain line spacing with other lines.
Annotation label: Shortcut Key Ctrl +/
3.2 horizontal line label
Horizontal line label:
3.3 Section label
Section label:
3.4 font labels
Font label usage
You must combine its attributes to get a certain style effect.
Set color: color (it can be an English word or a hexadecimal value)
Set Font: face (the font must already exist on your local machine)
SET size: size (from 1 to 7)