What about html and CSS 3-HTML intermediate

Source: Internet
Author: User
Tags set cookie

What about html and CSS? 1. tag attributes and elements

What about html and CSS? 2-css

 

Does HTML really mean this...

1. span and Div

Most labels have their meanings (semantics), such as P, paragraph, and H1. With the exception of span and DIV, but with the specific meaning given by the ID and class attributes, span and Div can be used to organize large HTML blocks.Code.

Span is an inline element. (Inline element)

DIV is a block element. (block element)

2. Meta of meta tags and Search Engine Optimization

<Meta name = "XX" content = "yyy"/>

XX can be author, keywords, description

<Meta http-equiv = "XX" conent = "yyy"/>

XX can beContent-Type(Type ),Expires(Timeliness ),Refresh(Refresh, how long the page will be automatically refreshed) andSet-Cookie(Set cookie)

HTTP-equiv will generate an HTTP data header, and the header information will be sent to the server.

3. Poor labels

B-bold, replaced by strong

I-italic, replaced by EM

big-larger font, H1 ~ Use font-size in H6 or CSS

small-smaller font, controlled by font-size

U-underline. Non-link text with a fart underline...

center-use the text-Lign attribute of CSS.

the menu has gone with UL's honeymoon.

layer, blink, marquee... Old antiques. I don't even want to explain why they are used...

font-font style is defined in CSS

Related Article

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.