The semantics of the htm label and the semantics of the htm label

Source: Internet
Author: User
Tags basic html page

The semantics of the htm label and the semantics of the htm label

Tag Name English Tag Semantics
Div Division Split
Span Span Range
Ol Ordered list Sort list
Ul Unordered list Unordered list
Li List item LIST ITEMS
Dl Definition list Definition list
Dt Definition term Definition belongs
Dd Definition description Definition description
Del Deleted Delete
Ins Inserted Insert
H1 ~ H6 Header 1 to header 6 Title 1 to Title 6
P Paragraph Section
Hr Horizontal rule Level
A Anchor Anchor
Abbr Abbreviation Acronyms
Acronym Acronym Abbreviation of the first letter
Address Address Address
Var Variable Variable
Pre Pre3formatted Predefined format
Blockquote Block quotation Block application language
Strong Strong Increase
Em Emphasized Increase
B Bold Bold
I Italic Italics
Big Big Increase
Small Small Small
Sup Superscripted Superscript
Sub Subscripted Small logo
Br Break Line feed
Center Center Center
Font Font Font
U Underlined Underline
S Strikethrough Strikethrough
Fieldset Fieldset Domain set
Legend Legend Icon
Caption Caption Title

Detailed examples of the usage of base labels in htm

<Base> mainly controls how the URL of the current page is opened, including hyperlinks and submit pages.
If <base target = "_ blank"> and the target attribute is not set for the hyperlink on this page, all the hyperlinks on this page will be opened in a new window.
Similarly, when you click the submit button to submit a form, the target page for submission will also be opened in a new window.
<Base target = "_ self">.

I think this is the most useful thing in the mode dialog box. When you submit in the mode dialog box, a new page will be opened. To avoid this situation, add a <base target = "_ self"/>
 
What is the type of the htm tag?

HTML is a common network language, a simple and common fully-configured markup language. It allows web producers to create complex pages that combine text and images. These pages can be viewed by anyone else on the internet, regardless of the type of computer or browser they use. Amazing? It's not amazing at all, because now you see pages written in this language. Haha.
You may have heard of many software that can edit web pages. In fact, you do not need to use any special software to create HTML pages; all you need is a text processor (such as McrosoftWord \ notepad \ WordPad) and HTML work knowledge. In fact, you will soon find that the basic HTML language is easy to die.

HTML is just a series of tags combined into a text file. They are very band-oriented and tell the musicians where they need to pause and where they need to be excited.
HTML tags are generally full names of English words (such as block references: blockquote) or abbreviations (such as "p" stands for Paragragh), but they are different from general texts, because they are placed in the name of a single book. Therefore, the Paragragh label is <p> and the block reference label is <blockquote>. Some labels describe how the page is formatted (for example, <p> Start a new paragraph), others describe how these words are displayed (<B> make the text rough) there are other tags that do not display on the page-for example, the title.
For tags, remember that they appear in pairs. Every time you use a tag, such as <blockquote>, you must close it with another tag </blockquote>. Note the slash before "blockquote", that is, the difference between closing the tag and opening the tag.
The basic HTML page starts with a
The title word is clipped between the So let's create a simple example, which is very easy. ". (Whatever name you give, but remember to use English)
Then you can open it in a browser, and you will see the simplest page made by yourself.

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.