HTML and CSS Reference
In-Depth Information
</article>
</section>
</body>
</html>
Notice that the markup shown in Listing 1-4 uses several HTML5-specific tags mentioned earlier in
Table 1-1. Also notice that the jQuery and Modernizr script files are referenced in the master page so that
not every content page has to refer to them again. As you enter the markup, notice how Visual Studio
IntelliSense shows HTML5-specific tags, making your job easy.
Now add a new web form with a master page using Add New Item dialog, and select
MasterPage.master as its master page (Figure 1-23).
Figure 1-23. Adding a web form with master page
Next, add the markup shown in Listing 1-5 to Default.aspx .
Listing 1-5. Markup for Default.aspx
<%@ Page Title=”” Language=”C#” AutoEventWireup=”true” MasterPageFile=”~/MasterPage.Master”
CodeBehind=”Default.aspx.cs” Inherits=”Example_03.Default” %>
<asp:Content ID=”Content1” ContentPlaceHolderID=”ContentPlaceHolder1”
runat=”server”>
<header>
<h1>Play random Audio and Video iles!</h1>
</header>
<div>
<input type=”button” id=”playmusic” value=”Play Random Audio File” />
Search WWH ::




Custom Search