Professional Documents
Culture Documents
UNIT-IV
1. Create a HTML and CSS code for the book page as follows.
AIM:
ALOGRITHM:
STEP 1: Open a Text Editor and name it as dreamweaverbook.html and another one as
book.css
STEP 2: Use basic HTML elements such as Head, Title, and Body.
STEP 3: Under the Body Tag web page heading has to be display in “Dreamweaver CC
STEP 4: Open a Text Editor and name it as dreamweaverbook.html and another one as
book.css
STEP 5:Use basic HTML elements such as Head, Title, and Body.
STEP 6:Under the Body Tag web page heading has to be display in “Dreamweaver CC
STEP 7:Place an image in left side of a page by using image tag associated with its
attributes.
STEP 8:The following content has to be displayed in two paragraphs using Paragraph tag
beside image.
“Since 1996, Dreamweaver has been the leading product for web developers
who want to build web pages by using a visual interface. Now, Dreamweaver
CC 2014 takes that to a new level, with tools that make it easier than ever to
take advantage of today's best we design practices.
The trick to mastering Dreamweaver is learning how to use all of its windows,
panels, toolbars, and web technologies. To find out how this book teaches you
the skills you need, read more...”
STEP 9:To make use of book.css styles into dreamweaverbook.html file use element in
the head section as follows
<link rel= “stylesheet” href= “book.css”>
STEP 10:Save and execute the file in browser.
Code for CSS in book.css
CSS for body tag elements as font-family: Arial, Helvetica, sans-serif; font-size: 100%;
width: 550px; margin: 0 auto; padding: 1em; border: 1px solid navy;
STEP 11:CSS for level -1 heading(h1) tag as margin: 0; padding: .25em; color: navy; font-
size: 200%;
CODING:
<!doctype html>
<html>
<head>
<title>Dreamweaver book</title>
<link rel="stylesheet" href="bk.css">
</head>
<body>
<h1>Dreamweaver CC 2014</h1>
<img src="dreamweaver.jpg" alt="Dreamweaver Book">
<p>Since 1996, Dreamweaver has been the leading product for web
developers who want to build web pages by using a visual interface.
Now, Dreamweaver CC 2014 takes that to a new level, with tools that
make it easier than ever to take advantage of today's best web design
practices.</p>
<p>The trick to mastering Dreamweaver is learning how to use all of its
windows, panels, toolbars, and web technologies. To find
out how this book teaches you the skills you need, <a href="">
read more...</a></p>
</body>
</html>
OUTPUT:
Dreamweaver Book
Since 1996, Dreamweaver has been the leading product for web developers who want to build
web pages by using a visual interface. Now, Dreamweaver CC 2014 takes that to a new level,
with tools that make it easier than ever to take advantage of today's best web design practices.
The trick to mastering Dreamweaver is learning how to use all of its windows, panels, toolbars,
and web technologies. To find out how this book teaches you the skills you need, read more...
2. Design a Home page for Town Hall using HTML and CSS rule set.
AIM:
To design a home page for Town Hall using HTML and CSS.
ALGORITHM:
STEP 1:Open a Text Editor and name it as index.html and CSS file called main.css,
Code for HTML in index.html
STEP 2:Start to design the page with head section, title and three link tag for adding
favicon, main.css
STEP 3:In body section, under header part home page title, motto and beside it logo
should be In main part, the content “Our Mission” given in h2. Paragraph
STEP 6:CSS for main tag elements add a rule set h1 elements within the main elements
That set font-size to 150%, border: 3px double #800000, margin-bottom: .75em,
background-color: white.
STEP 7:Add a rule set h2 elements within the main elements that set color to #800000,
STEP 8:Add a rule set h3 elements within the main elements that set font-size to 105%,
padding-bottom: .25em.
STEP 9:Add a rule set image elements within the main elements that set padding-bottom
to1em.
STEP 10:Add a rule set p elements within the main elements that set padding-bottom to
.5em.
STEP 11:Add a rule set blockquote elements within the main elements that set padding to
STEP 12:Add a rule set ul elements within the main elements that set padding to 0 0 .25em
1.25em,
STEP 13:Add a rule set li elements within the main elements that set padding-bottom:
35em;
STEP 14:The styles for the footer as background-color: #931420, add rule set p under
STEP 15:Place an image in left side of a page by using image tag associated with its
attributes.
STEP 16:The following content has to be displayed in two paragraphs using Paragraph tag
beside image.
“Since 1996, Dreamweaver has been the leading product for web developers
Who want to build web pages by using a visual interface. Now, Dreamweaver
CC 2014 takes that to a new level, with tools that make it easier than ever to
take advantage of today's best we design practices.
The trick to mastering Dreamweaver is learning how to use all of its windows,
panels, toolbars, and web technologies. To find out how this book teaches you
the skills you need, read more...”
STEP 17:To make use of book.css styles into dreamweaverbook.html file use element in
the head section as follows
CODING:
3. Design a web page for “San Joaquin Valley Town Hall” by using HTML and CSS.
AIM:
To Design a web page for “San Joaquin Valley Town Hall” by using HTML and
CSS.
ALGORITHM:
STEP 1:Use text editor to open index.html and main.css.
elements.
STEP 3:Add the first li elements for this list. Then, add an element to this list item with
STEP 4:Copy the li element that was created and past it four times to create four more
list items. Then, change the text for links in each list item as speakers.html and
STEP 6:Add a ul element within the last li element (about us) in the navigation menu.
Then, add four li elements (Our History, Board of Directors, Past Speakers &
STEP 7:Modify the rule set for the main navigation menu so it uses relative positioning.
STEP 8:Add rule set for the sub menu that uses the display property to keep the submenu
from being displayed by default. This rule set should also position the submenu a
STEP 9:Add rule set for the list items in the submenu that keeps them from floating to
display vertically.
STEP 10:Add rule set that causes the submenu to be displayed as block element when
mouse hovers over the list item that contains the submenu.
STEP12: Add rule set for li elements in the unordered list for navigation menu as float:
left.
STEP 13:Add rule set for <a> element within the li elements of navigation menu as
STEP 14:Add rule set for “current” class that sets text color to yellow.
UNIT-V
4. Design a web page for luncheons and enhance by adding a table in it.
AIM:
To Design a web page for luncheons and enhance by adding a table in it.
ALGORITHM:
STEP 1:Use text editor to open index.html and main.css.
elements.
STEP 3:Add the first li elements for this list. Then, add an element to this list item with
STEP 4:Copy the li element that was created and past it four times to create four more list
items. Then, change the text for links in each list item as speakers.html and set to
STEP 8:Table is created with table element and title of each field should come within
STEP 10:Final value or result should bring it in tfoot. End the figure element.
STEP 11:To bring the speakers images beside the main page can be displayed using aside
element.
STEP 13:Add rule set for table element in main as border-collapse: collapse. thead, tfoot set
To border-top: 2px solid #800000; border-bottom: 2px solid #800000. th, td set to
padding: .2em .7em; text-align: left. tfoot th, tfoot td set to text-align: right; font-
weight: bold.
5. Create an online order form for “San Joaquin Valley Town Hall” to enrolling members.
AIM:
To Create an online order form for “San Joaquin Valley Town Hall” to enrolling
members.
ALGORITHM: