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: thedrop-down menupops up when the mouse slides over it. Or the background color oftablechanges when the mouse slides over it. There is also a rotation of hot news (news pictures). It can be understood that those withanimationand those with interaction are generally implemented using JavaScript.
1-2
1,HTML tagis not case sensitive,
... ...
Code explanation:
1.is called the root tag, and all web page tags are in.
2. Thetag is used to define the head of the document, which is a container for all head elements. Header elements include