HTML+CSS Basic Learning Notes (1)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.