A brief overview of HTML

Source: Internet
Author: User

Note:

To be honest, this language does not require much or too detailed space to particularize. Master A ballpark figure, know some characteristics and characteristics are almost. The human brain is not a computer, there is no need to memorize many attributes and values, there is a help manual in hand, more than words.

What is HTML?

HTML is a language used to describe a Web page. HTML refers to Hypertext Markup Language (Hyper Text Markup Language), which is a markup language (markup language). Markup Language is a set of tag tags (markup tag), HTML uses tag tags to describe a Web page.

What is hypertext?

The real power of markup language is its ability to gather documents that can be combined into a complete repository, and to link document libraries to other collections of documents in the world. In this way, the reader can not only completely control the display of the document on the screen, but also through hyperlinks to control the order of browsing information. This is the "HT"-hypertext (hypertext) in HTML and XHTML, which connects the entire Web network.

Hypertext is the Chinese abbreviation for super text. Hypertext is a Web text that organizes the text information of various spaces together by means of hyperlinks . Hypertext is also a user interface paradigm for displaying text and related content to text. Hypertext is commonly present in electronic documents, where the text contains links to other locations or documents, allowing you to switch directly from the current reading position to the location pointed to by the hypertext link. There are many hypertext formats, and the most commonly used is Hypertext Markup Language (an application under the standard Universal Markup Language) and Rich Text format.

What is a hyperlink?

Hyperlinks (Hyper text), or called anchors (anchor) as standard, are tagged with <a> tags and can be represented in two ways.

One type of anchor is to create a hotspot in the document that will cause the browser to link when the user activates or selects (usually using the mouse) the hotspot. The browser automatically loads and displays a portion of the same document or other document, or triggers certain Internet service-related actions, such as sending e-mail or downloading special files.

Another type of anchor creates a tag in the document that can be referenced by a hyperlink.

Both types of anchors use the same label; maybe that's why they have the same name. But we've found that if you separate them, think of anchors that provide hotspots and hyperlink addresses as "links," and anchors that mark the target part of a document as "anchors", then you'll be more likely to understand both types of anchors.

What is an HTML tag?

HTML tag tags are often referred to as HTML tags (html tag). HTML tags are keywords surrounded by angle brackets, such as , such as <b> and </b>, the first label in the pair is the start tag, the second is the end tag; the start and end tags are also known as open tags and closed labels.

What is an HTML document?

HTML documents contain HTML tags and plain text, and HTML documents are also called Web pages.

The purpose of a Web browser is to read HTML documents and display them as Web pages. Instead of displaying HTML tags, the browser uses tags to interpret the contents of the page.

. htm or. html file suffixes?

When you save an HTML file, you can use the. htm as well as the. html file suffix. Because in the past a lot of software (such as DOS) only allowed three-letter file suffixes, today's words, using. HTML is no problem at all.

Features of HTML:

HTML is a loose language, it is not sensitive to the case, although the need for double-label pairs of appearance, but not to appear in general will not error; Single label is not closed and will not be error; The attribute uses single quotation marks, double quotes, or no quotation marks to give an error.

But in order to be more prescriptive, we will generally strictly enforce these rules:

    • Double label Paired appearance (<font>123</font>)
    • Single label must be closed ()
    • Tag name, property name using lowercase
    • The code hierarchy is distinct, with indentation, line wrapping, and blank lines

Reference Source: http://www.cnblogs.com/SkySoot/archive/2012/04/11/2442615.html

A brief overview of HTML

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.