HTML (1): Exploring HTML and exploring html

Source: Internet
Author: User

HTML (1): Exploring HTML and exploring html
1. Introduction to HTML

  • HyperText Markup Language (HTML for short)
    • The Super Text Markup Language is an application under the standard General Markup Language and also a standard. It marks parts of the web page to be displayed through the markup symbol.
  • HyperText: HyperText (Text + image + video + audio + link)
    • Hyper Text uses hyperlinks to organize text information in different spaces.
  • Markup Language: Markup Language
    • Markup Language is a computer text code that combines text and other information related to the text to display the document structure and data processing details. Other information related to the text (including the structure and representation of the text) is combined with the original text, but marked for identification.
  • Developed by SGML (Standard Generic Markup Language)
    • Standard Generic markup language is an international standard language that defines the structure and description of electronic documents. It provides an exceptionally powerful tool for syntax tagging, at the same time, it has excellent scalability, so it is very useful in data classification and indexing. It is the origin of all the electronic document Markup languages and existed as early as before the invention of the World Wide Web.
  • Languages written to browsers
2. Basic HTML Structure

  • <Html>
    • Define the content of the entire HTML file. All HTML tags should be placed here.
  • <Head>
    • Defines the header of an HTML file. It is a container for all header elements. The elements in the head label can reference scripts, instruct the browser where to find the style sheet, and provide metadata. The document header describes the attributes and information of a document, including the document title, its location on the Web, and its relationships with other documents. Most of the data contained in the document header is not actually displayed to the reader as the content.
  • <Title>
    • The title element can only be used in the head element. The text in the title opening/closing label is displayed on the title bar of the browser and the taskbar of Microsoft Windows. For Web pages, "Internet Explorer" is automatically appended to the title. In the HTML Application (HTA), only the specified title is displayed.
  • <Body>
    • The body element is the subject of the definition document. The body element contains all the content of a document (such as text, hyperlinks, images, tables, and lists ).
3. HTML tag Elements

  

  • The HTML element consists of the start tag and end tag.

  • Text in the start tag and end tag is the content of the element.

  • HTML tags must start and end. If there is no content tag (empty tag), end with/>.
  • It is recommended that the tag name be in lower case.

  • A tag has attributes, which indicate the properties and features of a tag. Attribute must be specified in the start tag.
4. How to define a qualified HTML page 5. Common HTML elements

 

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.