1. HTML5 Introduction

Source: Internet
Author: User

Cross-platform operation, low hardware requirements, alternative to flash

HTML is the language used to describe a Web page

HTML refers to Hypertext Markup Language (not programming language)

New features of HTML5:

Canvas labels for painting

Video and audio elements for media playback

............

Development tools: Common Webstorm, Dreamweaver, Intellij idea

1. HTML version: HTML .... HTML5 XHTML5 2013

Learning steps:

Html->xhtml->css->css3->js->jquery->html5

2.HTML Basic Explanation:

Disclaimer:<! Doctype> is what we call a header file, it's just a statement, not a label

 HTML also has many different versions, and only the exact HTML version used in the page is fully understood, and the browser is able to display the HTML page correctly. This is <!. The usefulness of doctype>

HTML5 's declaration is: <! DOCTYPE html>

HTML4.01 's declaration is:<......>

are not the same. (You can view different versions of the header file by viewing the source page)

Some notes about the statement:

<! DOCTYPE> declaration must be the first line in the HTML document, before the <HTML> tag.

<! DOCTYPE> declaration is not an HTML tag; it is a directive that instructs Web browsers to write about which HTML version the page is using.

In HTML 4.01 , <! DOCTYPE> declarations refer to DTDs because HTML 4.01 is based on SGML. The DTD prescribes the rules of the markup language so that the browser renders the content correctly.

HTML5 is not SGML-based, so you do not need to reference DTDs.

Tip: Always add <! to your HTML document DOCTYPE> declaration so that the browser can learn the document type.

Some common tags:

<meta charset= "UTF-8";: There are many formats, UTF8 is a universal encoding format.

<p></p>: Defines a paragraph that defines a piece of text that, when not combined with the text, will have a different line spacing from the lines of the newline tag.

   

1. HTML5 Introduction

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.