Introduction to HTML

Source: Internet
Author: User

First, what is HTML

HTML (Hyper Text mark-up Language), or Hypertext Markup Language, is the description language of WWW, presented by Tim Berners-lee. The purpose of the HTML language is to make it easy to connect text or graphics stored on one computer with text or graphics from another computer to form an organic whole, regardless of whether the specific information is on the current computer or on other computers in the network. This way, if you use your mouse to click an icon in a document, the Internet will immediately go to the content associated with that icon, which may be stored on another computer in your network.

HTML text is a descriptive text made up of HTML commands that describe text, graphics, animations, sounds, tables, links, and so on. The structure of HTML consists of two parts: Head (head), Body (body). The header describes the information required by the browser, and the subject contains the specific content to be described.

Second, the grammatical characteristics of HTML

1, the HTML file save format

There are mainly. html,. htm,. xhtml

2. Mark the basic format

single Mark : only the start tag, no end tag, such as <br>,

Double mark: Both the start tag and the closing tag, such as

Tagged Properties: The properties of the tag are used to control the display of the markup content. For example: <body bgcolor= "Red"></body>.

3 , HTML markup Language is case insensitive

4. Documentation Comments

<!--document Declaration--

5. Code format

1 <!DOCTYPE HTML>2 <HTMLLang= "en">3 <Head>4     <MetaCharSet= "UTF-8">5     <title>Document</title>6 </Head>7 <Body>8     9 </Body>Ten </HTML>

6. New features of HTML5

HTML5 is the newest standard for HTML, and it has the following new features:

1) Canvas Elements for painting

2) for media playback of video elements and audio elements

3) better support for local offline storage

4) New elements of special content, such as Header,footer

5) New form controls, such as Email,date

Introduction to 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.