Tag usage and meaning

Source: Internet
Author: User
Tags element groups

tag: Io use strong Div on cti html ad as

1 the tag defines the relationship between the document and external resources.
the most common purpose of a tag is to link a style sheet.
2 The element defines the subject of the document.
The Body element contains all the content of a document (such as text, hyperlink, image, table, and list .)
3
you can insert a simple line break.
the tag is empty (meaning it has no end tag, so this is incorrect:

). In XHTML, place the end tag in the start tag, that is,
.
the label is just a simple start for a new line. When the browser encounters a

label, some Vertical spacing is usually inserted between adjacent sections.
4 define the font, color, and size of the text.
5 an image is embedded into the webpage. labels do not insert images into webpages, but link images from webpages. A tag creates a placeholder space for the referenced image. A tag has two required attributes: SRC and ALT.
6

the tag defines a paragraph.
7

tags define HTML tables. A simple HTML table consists of a table element and one or more TR, Th, or TD elements. The TR element defines the table row, the th element defines the header, and the TD element defines the table unit. More complex HTML tables may also include caption, Col, colgroup, thead, tfoot, and tbody elements.
8
partitions or sections in the document can be defined ).
tags can divide documents into independent and different parts. It can be used as a strict organization tool without any format associated with it. If you use ID or class to mark
, the function of the tag becomes more effective.

Usage
<Div> is a block-level element. This means that its content automatically starts a new line. In fact, line feed is the unique format inherent in <div>. You can apply additional styles using the <div> class or ID. You do not have to add a class or ID to each <div>. This method also has some benefits. You can apply the class or ID attribute to the same <div> element, but the more common case is to apply only one of them. The main difference between the two is that class is used for element groups (similar elements, or can be understood as a certain type of elements), and ID is used to identify a unique element.
9 <strong> label, used to emphasize text, but it emphasizes more.

The content in the <strong> label is usually displayed in bold (relative to italic), so that you can distinguish the two labels.

Then the <strong> tag appears less frequently. The text modified with the <strong> label is like a scream. In the same way, the use of <strong> is more noticeable and effective.
10 <HR> the tag creates a horizontal line on the HTML page.
Horizontal rule can visually separate documents into parts

Tag usage and meaning

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.