2014 Annual Sinsing HTML Tutorial Summer Edition Seventh section

Source: Internet
Author: User

After learning from the previous six sections, we have a rough idea of the basics of HTML tutorials, so let's move on backwards, so let's talk about chunks in HTML.

Block ***************

Most of the elements in 1.HTML are defined as block-level elements or inline elements, and block-level elements start with a new line when displayed, such as the H1 tag, p tag, OL label, and table tag we talked about earlier.

2. Inline elements are not displayed in a separate line, they are displayed later, such as the TD tag we talked about earlier, the IMG tag, the strong tag, and so on.

div****span*********

The 1.div element is a block-level element, and this tag has no specific meaning, it means a block, because it is a block-level element, so whenever we encounter a div, it will be wrapped.

2.div usually need to cooperate with the CSS, in order to show its powerful power, we are in the back of the CSS will often use the div, here is not to say.

The 3.span element is a typical inline element, and it does not have a specific meaning, it is to define an inline element, and then we can work with CSS to modify its internal style.

Layout ***************

1. Layout, translated into English is usually layout, a site layout is very important, a reasonable layout like we said "this person is very good", and a bad layout, will be a very uncomfortable feeling.

2. More on the layout, I put it in the back of the CSS tutorial to go inside, here is the first slightly past.

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.