官术网_书友最值得收藏!

Chapter 1. Introducing HTML5 Games

Hypertext Markup Language, HTML, has been shaping the Internet in the last few decades. It defines how content is structured in the Web and the linkage between related pages. HTML has kept evolving from version 2 to HTML 4, and later to XHTML 1.1. Thanks to the web applications and social networking applications, it the era of HTML5 now.

Cascading Style Sheet (CSS) defines how web pages are presented visually. It styles all HTML elements and the styles of their states, such as hover and active.

JavaScript is the logic controller of a web page. It makes the web page dynamic and provides client-side interaction between the page and users. It accesses the HTML through Document Object Model (DOM). It controls the new HTML features via their APIs.

There are modern web browsers in most desktop and mobile devices. These latest web techniques bring us the new game market—the HTML5 games. With the new power from these techniques, we can design games with HTML5 elements, CSS3 properties, and JavaScript to play in most browsers and mobile devices.

In this chapter, we will cover the following topics:

  • Discovering new features in HTML5
  • Discussing what makes us so excited around HTML5 and CSS3
  • Previewing what games we are going to build in later chapters
  • Preparing the development environment

So, let's get started.

主站蜘蛛池模板: 涞源县| 民丰县| 镇宁| 东乌| 航空| 林芝县| 罗定市| 武功县| 盐津县| 柳州市| 教育| 天祝| 彰武县| 西和县| 弥勒县| 福州市| 毕节市| 河曲县| 唐山市| 鹿邑县| 丰台区| 阿城市| 江门市| 鸡泽县| 皋兰县| 武山县| 西吉县| 老河口市| 离岛区| 阳春市| 泸水县| 乡宁县| 关岭| 南安市| 青浦区| 重庆市| 涟水县| 石林| 昭通市| 海伦市| 郴州市|