WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS (2011-2012)



Similar documents
BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

Introduction Designing your Common Template Designing your Shop Top Page Product Page Design Featured Products...

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

Introduction to XHTML. 2010, Robert K. Moniot 1

Chapter 2 HTML Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

ICT 6012: Web Programming

So we're set? Have your text-editor ready. Be sure you use NotePad, NOT Word or even WordPad. Great, let's get going.

Website Planning Checklist

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

HTML, CSS, XML, and XSL

Introduction to Web Design Curriculum Sample

Web Design and Databases WD: Class 7: HTML and CSS Part 3

Web Development 1 A4 Project Description Web Architecture

Script Handbook for Interactive Scientific Website Building

ITNP43: HTML Lecture 4

CSE 3. Marking Up with HTML. Tags for Bold, Italic, and underline. Structuring Documents. An HTML Web Page File

Advanced Drupal Features and Techniques

Formatting Text in Blackboard

Creating HTML authored webpages using a text editor

The McGill Knowledge Base. Last Updated: August 19, 2014

How to Create an HTML Page

Semantic HTML. So, if you're wanting your HTML to be semantically-correct...

With tags you can create italic or bold characters, and can control the color and size of the lettering.

ICE: HTML, CSS, and Validation

<script type="text/javascript"> var _gaq = _gaq []; _gaq.push(['_setaccount', 'UA ']); _gaq.push(['_trackpageview']);

About webpage creation

How to Manage Your Eservice Center Knowledge Base

Web Programming with XHTML

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

CS412 Interactive Lab Creating a Simple Web Form

Accessibility in e-learning. Accessible Content Authoring Practices

Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,:

An Attribute is a special word used inside tag to specify additional information to tag such as color, alignment etc.

Selectors in Action LESSON 3

Getting Started with Ubertor's Cascading Style Sheet (CSS) Support

Urban Planet Website Content Management System. Step-by-Step Instructions

7 th Grade Web Design Name: Project 1 Rubric Personal Web Page

CST 150 Web Design I CSS Review - In-Class Lab

Creating an HTML Document Using Macromedia Dreamweaver

WHITEPAPER. Skinning Guide. Let s chat Velaro info@velaro.com by Velaro

New Perspectives on Creating Web Pages with HTML. Considerations for Text and Graphical Tables. A Graphical Table. Using Fixed-Width Fonts

Web Design I. Spring 2009 Kevin Cole Gallaudet University

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

Outline of CSS: Cascading Style Sheets

Making Content Editable. Create re-usable templates with total control over the sections you can (and more importantly can't) change.

FACULTY OF COMMERCE, OSMANIA UNIVERSITY

How to code, test, and validate a web page

XHTML BASICS. Institute of Finance Management CIT Department Herman Mandari

Web Development CSE2WD Final Examination June (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

Embedding a Data View dynamic report into an existing web-page

Making Web Application using Tizen Web UI Framework. Koeun Choi

Web Design and Development ACS Chapter 9. Page Structure

Programming the Web 06CS73 SAMPLE QUESTIONS

Advanced Web Design. Zac Van Note.

HTML Tables. IT 3203 Introduction to Web Development

Basics of HTML (some repetition) Cascading Style Sheets (some repetition) Web Design

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

Website Login Integration

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc mraymond@luminys.com

BlueHornet Whitepaper

Create Your own Company s Design Theme

HTML TIPS FOR DESIGNING

HTML5 and CSS3 The Future of the Web Programming HTML. Sergio Luján Mora

Caldes CM12: Content Management Software Introduction v1.9

Web Accessibility Guidelines. For UN Websites

Interaction between browser and server. HTML (Hyper Text Markup Language)

What is CSS? Official W3C standard for controlling presentation Style sheets rely on underlying markup structure

Creating a Resume Webpage with

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5

07 Forms. 1 About Forms. 2 The FORM Tag. 1.1 Form Handlers

COMP519 Web Programming Autumn Cascading Style Sheets

Creating your personal website. Installing necessary programs Creating a website Publishing a website

Contents. Downloading the Data Files Centering Page Elements... 6

HTML & XHTML Tag Quick Reference

Campaign Guidelines and Best Practices

Tutorial 5. Working with Web Tables

LAB MANUAL CS (22): Web Technology

Web Design with Dreamweaver Lesson 4 Handout

Designing HTML s for Use in the Advanced Editor

Introduction to HTML

1. Create a web page which will contain image of window layout as follows.

{color:blue; font-size: 12px;}

Web Design with CSS and CSS3. Dr. Jan Stelovsky

Transcription:

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS (2011-2012) BY MISS. SAVITHA R LECTURER INFORMATION SCIENCE DEPTATMENT GOVERNMENT POLYTECHNIC GULBARGA FOR ANY FEEDBACK CONTACT TO EMAIL: savitharamu@gmail.com Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 1

PROGRAM 1 <!-- A Program to illustrate body and pre tags --> <title> body and pre tag </title> <body text="red" bgcolor="yellow" background="desert.jpg"> This is an Illustration of body tag with its properties <pre> This text uses pre tag and preserves nextline and spaces </pre> This text doesnt uses pre tag so doesnt preserves nextline and spaces.. everything will be printed in the same line Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 2

PROGRAM 2 <!-- A Program to illustrate text Font tag --> <title> Font tag Example </title> <font face="arial" size="1" color="blue"> WELCOME </font> <br> <font size="2" color="cyan"> WELCOME </font> <br> <font size="3" color="red"> WELCOME </font> <br> <font size="4" color="yellow"> WELCOME </font> <br> <font size="5" color="green"> WELCOME </font> <br> <font size="6" color="brown"> WELCOME </font> <br> <font size="7" color="pink"> WELCOME </font> <br> <font size="20" color="gray"> WELCOME </font> <br> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 3

PROGRAM 3 <!-- A Program to illustrate comment,h1.h6, and div tag --> <title> Illustrating comment, h1...h6 and div tags </title> <!-- THIS IS A COMMENT LINE --> <div style="color:#00ff00"> <h1 align="center"> This is h1 tag text with center aligned </h1> <h2 align="left"> This is h2 tag text with left aligned </h2> <h3 align="right">this is h3 tag text with right aligned </h3> </div> <h4> This is h4 tag text without alignment</h4> <h5> This is h5 tag Text without alignment </h5> <h6> This is h6 tag text without alignment </h6> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 4

PROGRAM 4 <!-- A Program to illustrate text formatting tags --> <title> Text Tags </title> <center> <h1 align="center">to illustrate text formatting tags </h1> <hr color="red"> <P> <marquee behavior="alternate"> This is an alternate Marquee text </marquee> <p> This is <i> italized </i> </p> <p> This is <u> underlined </u> </p> <p> This is <b> bold </b> </p> <p> This is <em> emphasized </em> </p> <p>this is <Strong> Strong Text </strong> </p> <p> This is <s> striked text </s> </p> <p> This is <code> computer code </code> </p> <p> This is <sup> superscript </sup> code </p> <p> This is <sub> subscript </sub> code </p> <p> This is <big> big text </big> </p> <p> This is <small> small text </small> </p> </center> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 5

Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 6

PROGRAM 5 <!-- A Program to illustrate Order List tag --> <title> Order List tag </title> <h3 align="center" style="color:red">to illustrate ORDER list tags</h3> <hr COLOR="RED"> <h4>numbered list:</h4> <ol> <li>apples</li> <li>bananas</li> <li>lemons</li> <li>oranges</li> </ol> <h4>uppercase Letters list:</h4> <ol type="a"> <li>apples</li> <li>bananas</li> <li>lemons</li> <li>oranges</li> </ol> <h4>lowercase letters list:</h4> <ol type="a"> <li>apples</li> <li>bananas</li> <li>lemons</li> <li>oranges</li> </ol> <h4>roman numbers list:</h4> <ol type="i"> <li>apples</li> <li>bananas</li> <li>lemons</li> <li>oranges</li> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 7

</ol> <h4>lowercase Roman numbers list:</h4> <ol type="i"> <li>apples</li> <li>bananas</li> <li>lemons</li> <li>oranges</li> </ol> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 8

PROGRAM 6 <!-- A Program to illustrate Unorder List tag --> <title> Unorder List </title> <h3 align="center"> To illustrate unorder list tags </h3> <hr color="red"> <h4>disc bullets list:</h4> <ul type="disc"> <li>apples</li> <li>bananas</li> <li>lemons</li> <li>oranges</li> </ul> <h4>circle bullets list:</h4> <ul type="circle"> <li>apples</li> <li>bananas</li> <li>lemons</li> <li>oranges</li> </ul> <h4>square bullets list:</h4> <ul type="square"> <li>apples</li> <li>bananas</li> <li>lemons</li> <li>oranges</li> </ul> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 9

Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 10

PROGRAM 7 <!-- A Program to illustrate Nested and Definition tag --> <title> Nested and Definition List <title> <h3 align="center"> To illustrate Nested and Definition List Tags </h3> <hr color="red"> <h4> An ordered nested List: </h4> <ol> <li> Coffee </li> <li> Tea <ol type= "a"> <li> Black tea </li> <li> Green tea </li> <ol type= "i" > <li> China </li> <li> Africa </li> </ol> </ol> <li> Milk </li> </ol> <h4> A Definition List: </h4> <dl> <dt> Bangalore </dt> <dd> -Capital City of Karnataka </dd> <dt> Mumbai</dt> <dd> -Capital city of Maharashtra </dd> </dl> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 11

Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 12

<!-- A Program to illustrate Img tag --> <title> Image Tag </title> PROGRAM 8 <h3 align="center" style="color:red"> To illustrate image tags</h3> <hr> <p> <img src="flower.bmp" align="right" height="100" width="100"/> This image is right aligned with the text </p> <br><br><br><br><hr> <p> <img src="flower.bmp" align="left" height="100" width="100"/> This image is left aligned with the text </p> <br><br><br><br><hr> This image is center aligned with the text. <img src="flower.bmp" align="middle" height="100" width="100"/> <br><br><br><br><hr> This image is bottom aligned with the text. <img src="flower.bmp" align="bottom" height="100" width="100"/> <br><br><br><br><hr> This image is top aligned with the text. <img src="flower.bmp" align="top" height="100" width="100"/> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 13

Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 14

PROGRAM 9 <!-- A Program to illustrate Hyper Link tag (Anchor tag) --> Home.html <title> Link Tag </title> <title> <h3 align="center" style="color:red">to illustrate link Tags</h3> <hr> Text as a link/hyperlink to another page : <a href="page1.html "> Click here!!!</a> <hr> Image as a link/hyperlink :<a href="page1.html"> <img src="flower.bmp" width="32" height="32" align="bottom"/></a> <hr> <p> <a href="#c8">see also Chapter 8 ( link within a page )</a> </p> <h2>chapter 1</h2> <p>this chapter explains Pointers</p> <h2>chapter 2</h2> <p>this chapter explains variables</p> <h2>chapter 3</h2> <p>this chapter explains operator</p> <h2>chapter 4</a></h2> <p>this chapter explains structure</p> <h2>chapter 5</h2> <p>this chapter explains arrays</p> <h2>chapter 6</h2> <p>this chapter explains linked list</p> <h2>chapter 7</h2> <p>this chapter explains expressions</p> <h2><a name="c8">chapter 8</h2> <p>this chapter explains Binary Trees</p> <h2>chapter 9</h2> <p>this chapter explains Unordered trees</p> <h2>chapter 10</h2> <p>this chapter explains Statements</p> <h2>chapter 11</h2> <p>this chapter explains searching</p> <h2>chapter 12</h2> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 15

<p>this chapter explains sorting</p> <h2>chapter 13</h2> <p>this chapter explains Binary sort</p> <h2>chapter 14</h2> <p>this chapter explains merge sort</p> <h2>chapter 15</h2> <p>this chapter explains heap sort</p> Page1.html <title> Page1.html </title> <h1 align="center"> Hello!!! This is a new chapter </h1> <a href="home.html"> Go to home </a> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 16

After Clicking On Click Me or the Flower image the output is Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 17

After Clicking on the See also Chapter 8(link within a page) the output is Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 18

<!-- A Program to illustrate Table tag --> PROGRAM 10 <title> Table tag </title> <center> <h4>table with border, vertical headers, cellpadding and cellspacing</h4> <table border="10" cellpadding="10" cellspacing="10"> <tr> <td></td> <th>name</th> <th>age</th> <th>telephone</th> </tr> <tr> <th>student 1</th> <td>radha Desai</td> <td>20</td> <td>123 456 789</td> </tr> <tr> <th>student 2</th> <td>geetha Bharadwaj</td> <td>21</td> <td>267 891 281</td> </tr> </table> <hr> <h4>cell that spans two columns:</h4> <table border="1"> <tr> <th>name</th> <th colspan="2">telephone</th> </tr> <tr> <td>radha</td> <td>555 77 854</td> <td>555 77 855</td> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 19

</tr> </table> <hr> <h4>cell that spans two rows:</h4> <table border="1"> <tr> <th>first Name:</th> <td>radha</td> </tr> <tr> <th rowspan="2">telephone:</th> <td>555 77 854</td> </tr> <tr> <td>555 77 855</td> </tr> </table> </center> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 20

PROGRAM 11 <!-- A Program to illustrate Frame tag --> mainframe.html <title> Frame tag </title> <frameset cols="20,60"> <frame src="f1.html"> <frame src="f2.html" name="main"> </frameset> </frameset> f1.html <title> f1.html </title> <h3> States of karnataka </h3> <a href="gul.html" target="main"> gulbarga<br></a> <a href="bid.html" target="main"> Bidar<br> </a> f2.html <title> f2.html </title> <h1> Click on any state to get a welcome message </h2> gulbarga.html <title> Gulbarga.html </title> <body bgcolor="green"> <h1> Welcome to gulbarga </h1> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 21

<title> bidar.html </title> <body bgcolor="red"> <h1> Welcome to bidar </h1> bidar.html After Clicking On Gulbarga the output is : After Clicking On Bidar the output is : Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 22

<!-- A Program to illustrate Form tag --> PROGRAM 12 <title> form tag </title> <center> <h3 align="center">to illustrate form based tags</h3> <hr color="red"> <form action=""> <p>this is a text box to enter any text.<input type="text" > <p>this is a text box to enter password.<input type="password" > <p>this is a text area to enter large text<textarea> </textarea> <p>this is a button.<input type="button" Value="Click" > <p><b><u>radio Options</u></b><br> <input type="radio" name="y" checked> yes <input type="radio" name="n" checked> no </p> <p><b><u>checkbox Options</u></b><br> Sunday<input type="checkbox" checked > Monday<input type="checkbox" > Tuesday<input type="checkbox" > </p> <p><b><u>menu driven options </u></b> <select name="cars"> <option value="volvo">volvo</option> <option value="saab">saab</option> <option value="fiat">fiat</option> <option value="audi">audi</option> </select></p> </form> </center> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 23

Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 24

<!-- A Program to illustrate span tag --> PROGRAM 13 <title> span tag </title> <style type="text/css"> span.blue{ color:lightskyblue; font-weight:bold;} span.green{ color:darkolivegreen; font-weight:bold;} </style> <p align="center"> <font size=10> my mother has <span class="blue"> light blue </span> eyes and my father has <span class="green"> dark green </span> eyes. </font> </p> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 25

PROGRAM 14 <!-- A Program to illustrate CSS (cascading style sheet) --> <title> css demo </title> <style type="text/css"> body { background-color:red;} h1 { color:orange; text-align:center;} p { font-family: "Times new roman "; font-size: 20px;} </style> <h1> CSS EXAMPLE </h1> <p> This is a paragraph </p> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 26

PROGRAM 15 <!-- A Program to illustrate Embedded Multimedia --> <title> embedding multimedia </title> <center> <h1> Here is a video embedded on this webpage </h1> <br> <object data="wildlife.wmv" type="video/msvideo" height=200 width=200 hspace=200 vspace=200> </object> </center> Dept. Of CS & IS, Govt. Polytechnic, Gulbarga 27