Training Guide: Programming in HTML5 with JavaScript and CSS3 Ebook

(Nora) #1

8 CHAPTER 1 Getting started with Visual Studio 2012 and Blend for Visual Studio 2012


FIGURE 1-3 lank App template with preliminary codingB

Blank App also contains other files that you will want to explore. If you open the
default. html file, you’ll see the following HTML.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>App1</title>

<!-- WinJS references -->
<link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" />
<script src="//Microsoft.WinJS.1.0/js/base.js"></script>
<script src="//Microsoft.WinJS.1.0/js/ui.js"></script>

<!-- App1 references -->
<link href="/css/default.css" rel="stylesheet" />
<script src="/js/default.js"></script>
</head>
<body>
<p>Content goes here</p>
</body>
</html>

The first line contains <!DOCTYPE html>, which is a declaration to the web browser that
describes the version of HTML in which the page is written. It’s not an HTML element; it’s a
Free download pdf