A good web page that requires HTML, CSS, and JavaScript.
HTML is the content that hosts Web pages (just to put content)
CSS is the style of Web content (for aesthetics)
JavaScript is the behavior of Web pages (to achieve the dynamic nature of Web pages)
The following is a basic HTML structure:
<! DOCTYPE html>//Tell the browser which version of HMTL is used
<meta charset= "UTF-8"/>//Encoding Set
<title>Document</title>//Site tab title
<body>
The content of this is the main battlefield of the programmer.
</body>
First introduce the sub-tags in the head tag:
First title tag:
A second META tag:
The third link tag:
Here is the label in the body, the main battlefield of the programmer
1. Classification of Tags: block-level labels (shown as blocks, front and back lines) and row-level labels (displayed by row)
2. Common block-level tags: title tags:
3. Layout-based block-level tags:
4. Common line-level labels:
Initial knowledge of HTML