01 135212 104 11124090967 20122023 033153pm

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Web Systems & Technologies

ITL 226

Lab Journal 11
Student Name taimur ali
Enrolment No.104
Class and Section bsit-5a

Department of Computer Science


BAHRIA UNIVERSITY, ISLAMABAD
Lab # 11: Asp.net Master Pages

Objectives:
• To learn about Asp.net Master pages
• Master pages and their integration on asp.net platform\

• Code:
• <%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site1.Master"
CodeBehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1" %>
• <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
• </asp:Content>
• <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
• <html>
• <div>
• <header>
• <nav>
• <ul>
• <li>Home</li>
• <li>Menu</li>
• </ul>
• </nav>
• </header>
• </div>
• <main>
• <p>This is Tamiours Website.</p>
• </main>

• </div>
• <div>
• <footer>
• <p>This is a footer</p>
• </footer>
• </div>
• </html>
• </asp:Content>

Tools Used:

Visual Studio

Submission Date:

Evaluation: Signatures of Lab Engineer:

Task # 1:

Create an asp.net project by developing the Master pages and at least two content pages of your own
project.
a. Use Bootstrap to make website responsive
b. Create header, footer and Navigation bar
Procedure/Program:

Result/Output:

Analysis:

You might also like