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