HTML5 game development in the basis of tag explanation

Source: Internet
Author: User


Generally in the HTML5 game development, the basis of the tag are used in the title, paragraph and branches, below to explain the following several of the most commonly used tags. Of course, the best way to learn HTML5 is to follow the example, and today our HTML5 game development tutorial starts with an example.

First look at the tag app in the title. In HTML5 game development, we use a few tags from h1 to h6 to define the title of the article, each of which has its own title. For example, this:

The following is a simple description of the use of tag, not much to say, see the example of the most relaxed.

Segmentation

<p>this is a paragraph</p> <p>this is another paragraph</p> line <p>this <br> is a para <br>graph Withline breaks</p>

HTML annotations

<!--This is a comment-

Annotations refer to a paragraph in the HTML5 game development file that explains the code, we can write the comments in the code, and the browser ignores the comments, so we don't see our comments in the text.

Remember, in the HTML5 game development , the file will automatically ignore the extra space, that is, no matter how many spaces we have, will be treated as a, and some tags can be divided into a section of their own, here we do not need to use.

For example, headings such as H1.

The following example describes the characteristics of a paragraph.

Body Title

Add a horizontal line

Code comments

Background color


HTML5 game development in the basis of tag explanation

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.