Learning Notes (i) HTML+CSS Basic Course

Source: Internet
Author: User

This week to Mu net of "html+css Basic Course" course, the content is very very basic, but still learned a few small knowledge points, write down the first.

<a> hyperlink Send mail

He moved his picture directly, so I didn't type.

Example: <a href= "mailto:[email protected]?subject= topic name &body= message Content" > How do you feel about this review, send me an email </a>

CSS selector weights

The weight value of the label is 1,

The weight value of the class selector is 10,

The value of the ID selector is up to 100

Example: p{color:red;}/* Weighted value is 1*/

P Span{color:green;}/* Weighted value is 1+1=2*/

. Warning{color:white;}/* Weighted value is 10*/

P span.warning{color:purple;}/* Weighted value is 1+1+10=12*/

#footer. Note P{color:yellow;}/* Weighted value is 100+10+1=111*/

The spacing between letters

If you want to set the text interval or the letter spacing in the page layout, you can use letter-spacing to implement

Reference: HTTP://WWW.IMOOC.COM/LEARN/9

Learning Notes (i) HTML+CSS Basic Course

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.