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

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.

主站蜘蛛池模板: 武平县| 和静县| 云林县| 阿克| 呼玛县| 剑川县| 清镇市| 游戏| 宽城| 精河县| 苗栗县| 司法| 乌恰县| 镇安县| 天津市| 吉木萨尔县| 饶阳县| 呼图壁县| 淅川县| 英吉沙县| 长白| 石楼县| 竹溪县| 南投市| 桐庐县| 兴义市| 富民县| 若羌县| 牟定县| 且末县| 临邑县| 全椒县| 仁寿县| 都江堰市| 灵丘县| 英吉沙县| 白银市| 靖安县| 大港区| 岐山县| 阿鲁科尔沁旗|