Getting Started with HTML

Source: Internet
Author: User

For Chinese web pages need to use <meta charset= "Utf-8" > Declaration Code, otherwise garbled

  • <! DOCTYPE html> declared as HTML5 document
  • element is the root element of an HTML page
  • The element contains meta data for the document
  • The <title> element describes the title of the document
  • The <body> element contains the visible page content
  • element defines a big headline
  • <p> element defines a paragraph
  • The
  • HTML link is defined by label <a>, <a Span class= "Hl-var" >href= "http:// Www.runoob.com "> This is a link </a> Specify the address of the link in the href attribute
  • html image is defined by label , <img src= "/images/logo.png" Span class= "Hl-code" > width= " 258 " height= "39" />
  • Adding a slash to the start tag, such as <br/>,
  • Most HTML elements can have properties, and properties always appear as name/value pairs, such as: name= "value", common properties Class,id,style, etc.
  • Annotation notation <!-- This is a comment --
  • When a page is displayed, the browser removes extra spaces and blank lines from the source code. All consecutive spaces or blank lines are counted as a space

Getting Started with 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.