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

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.

主站蜘蛛池模板: 灵台县| 共和县| 建水县| 许昌市| 麻阳| 吴川市| 资中县| 石台县| 大安市| 宝坻区| 南宁市| 建始县| 台江县| 嫩江县| 岢岚县| 张家界市| 砀山县| 八宿县| 台江县| 东乡| 滦南县| 九龙城区| 饶平县| 旅游| 晋中市| 宝清县| 吴桥县| 江达县| 安义县| 榆林市| 阳江市| 榆树市| 崇州市| 房山区| 涟源市| 沂源县| 麦盖提县| 兴业县| 教育| 泰兴市| 华安县|