1, html+css basics
1-1
The relationship between Html and CSS
Learning the basic technologies of web front-end development requires mastering: HTML, CSS, and JavaScript languages. Let's take a look at what these three technologies are used to achieve:
1. HTML is the carrier of web content. Content is the information that web page creators put on the page for users to browse, and can include text, pictures, videos, etc.
2. CSS style is performance. It's like a coat for a web page. For example, title font, color changes, or adding background images, borders, etc. to the title. All these things used to change the appearance of content are called presentations.
3. JavaScript is used to implement special effects on web pages. For example: the drop-down menu pops up when the mouse slides over it. Or the background color of table changes when the mouse slides over it. There is also a rotation of hot news (news pictures). It can be understood that those with animation and those with interaction are generally implemented using JavaScript.
1-2
1, HTML tag is not case sensitive,
<html> <head>...</head> <body>...</body> </html>
Code explanation:
1. is called the root tag, and all web page tags are in .
2. The