First, understand HTML, CSS, JS
1, HTML is the carrier of Web content.
The content is the information that the Web creator puts on the page to let the user browse, can contain text, picture, video and so on.
2, CSS style is performance.
What is used to change the appearance of the content is called performance, such as title font, color change, etc., like a web coat.
3. JavaScript is used to achieve special effects on the Web page.
Animated, interactive. such as the mouse over the popup drop-down menu, mouse over the background color change, the rotation of news pictures.
II. basic structure of HTML files
<body>.....</body>
Code Explanation:
1,
2.
3, <body></body> contains Web content tags, such as
Third, head tag
<title>.....</title>
<meta>
<limk>
<style>.....</style>
<script>.....</script>
Code Explanation:
<title> Tags: The text content between the <title></title> tags is the title information of the Web page, displayed in the browser title bar, used to tell the user and search engine the main content of this page, each page content is different, Each page should have a unique title.
Iv. <span> Labels
<style>
Span{color:blue}
</style>
<body>
<span> Here the text will be displayed as blue </span>
</body>
Five, attention
HTML tags are case-insensitive, but lowercase are recommended.
HTML+CSS Basic Learning Notes (1)