HTML and CSS Reference
In-Depth Information
The body of the sample HTML page is all here:
<body>
<p>Content goes here</p>
</body>
Let's just replace the placeholder text with some custom text. For example:
<body>
<p> Hello, Windows 8!<p>
</body>
In HTML, the < body > element indicates the entire content of a page. The < p > element, instead,
defines a paragraph of text. The net effect of the change is making the page display the text “Hello,
Windows 8.”
The next step is building the application and admiring it in action live.
Admiring the app in action
To build the application, you hit F5 or click Build | Start Debugging. Debugging is the action of finding
and fixing errors in computer programs. However, the sequence Build+Debugging more generally
refers to giving the application a try. You launch the application and interact with it to see if it
behaves as you expect.
For an even quicker start, you can click the Play button in the toolbar, as shown in Figure 1-15.
FIGURE 1-15 Starting the debug of the application.
Note that Local Machine is only the default choice where you can choose to run the application.
By selecting it, you open up a menu with various options. Running the application on the local
machine means switching from the Windows classic desktop mode (where you execute Visual Studio)
to the specific UI of Windows 8. If you don't like doing that, you can run applications in a simulator.
Using the simulator is helpful for testing the application using various screen orientations and
resolutions. Finally, you can even run the application on a remote machine, provided that you have
sufficient rights to access that machine.
Search WWH ::




Custom Search