Professional Documents
Culture Documents
ON
WEB DESIGNING AND DEVELOPMENT
02613401920
(ASSOCIATE PROFESSOR)
Behind every task undertaken, there are several people whose gracious
motivation leads to its success. I take it as my privilege to express my gratitude
and few words of thanks and thanks to all those who directly or indirectly
guided and inspired me in the task of learning.
I express my great sense of gratitude to my mentor Dr. Seema Gupta for her
personal involvement in every facet of this work and readiness to resolve any
point of confusion by mutual discussion and encouragement.
NITYA GUPTA
0261340192
0
INDEX
Sr.
No. PARTICULARS PAGE
NO.
TEACHER’S
SIGN
HTML
1 Introduction to HTML 7
2 Illustration of text formatting 8-10
3 A program to show all heading 11
4 Illustration of Pre tag & comment tag 12-13
5 Illustration of Div tag 14
6 Illustration of Font tag & Base font 15-16
7 All the list of HTML 17-18
8 Example of nested list 19
9 Illustration of image tag & it’s attribute 20-21
10 Illustration of Anchor tag & its 22
attributes with example
11 Design table (Colspan) with HTML tags 23-26
12 The illustration of frame with example 27
13 An application form 28-29
14 A program to demonstrate 30-32
implementation of CSS
JAVA SCRIPT
1 Factorial of a number 34
2 Greatest of 3 number 35
3 Print n number 36
4 Fibonacci Series 37
5 Implementation of IF, THEN, ELSE in JS 38
6 Implementation of function in JS 39
7 Implementation of Array in JS 40
8 Implementation of All types of loops 41-43
in JS
DREAM WEAVER
1 Implementation of bookmark 45-46
2 Implementation of Mail to link 47
3 Implementation of Image mapping 48-49
4 Implementation of creating rollover image 50-51
5 Implementation of tables 52-53
6 Implementation of Frames 54-55
7 Implementation of Form 56-57
8 Implementation of Listing 58-60
9 Implementation of Anchor Tag 61-62
10 Implementation of Image 63-64
FLASH
1 Factorial in action script 66-67
2 Grouping shapes in flash 68-69
3 Text effects in flash 70-72
4 Fibonacci series in action script 73
5 Animation with flash & editing animation 74-77
BIBLIOGRAPHY 78
HTML
1. INTRODUCTION TO HTML
HTML is the standard markup language for creating Web pages.
What is HTML?
An HTML element is defined by a start tag, some content, and an end tag:
<b> - Bold text: The HTML <b> element defines bold text, without any
extra importance.
<strong> - Important text: The HTML <strong> element defines text
with strong importance. The content inside is typically displayed in bold.
<i> - Italic text: The HTML <i> element defines a part of text in an
alternate voice or mood. The content inside is typically displayed in italic.
<em> - Emphasized text: The HTML <em> element defines
emphasized text. The content inside is typically displayed in italic.
<mark> - Marked text: The HTML <mark> element defines text that
should be marked or highlighted:
<small> - Smaller text: The HTML <small> element defines smaller text:
<del> - Deleted text: he HTML <del> element defines text that has been
deleted from a document. Browsers will usually strike a line through
deleted text:
<ins> - Inserted text: The HTML <ins> element defines a text that has
been inserted into a document. Browsers will usually underline inserted
text:
<sub> - Subscript text: The HTML <sub> element defines subscript
text. Subscript text appears half a character below the normal line, and is
sometimes rendered in a smaller font. Subscript text can be used for
chemical formulas, like H2O:
<sup> - Superscript text: The HTML <sup> element defines superscript
text. Superscript text appears half a character above the normal line, and
is sometimes rendered in a smaller font. Superscript text can be used for
footnotes, like WWW:
<u>Underline tag: If you write anything within <u>. </u> element,
is shown in underlined text.
<strike>tag: Anything written within <strike>.......................</strike>
element is displayed with strikethrough. It is a thin line which cross the
statement.
For example:
Output:
3. A program to show all headings
HTML headings are titles or subtitles that you want to display on a webpage.
<h1> defines the most important heading. <h6> defines the least important
heading.
Output:
4. Illustration of pre tag and comment tag
<pre> tag:
The <pre> tag defines preformatted text.
For Example:
Output:
<comment> tag:
HTML comments are not displayed in the browser, but they can help
document your HTML source code.
You can add comments to your HTML source by using the following syntax:
<! -- Write your comments here -->
Comments are also great for debugging HTML, because you can comment out
HTML lines of code, one at a time, to search for errors.
Output:
5. Illustration of div tag
The <div> tag defines a division or a section in an HTML document.
The <div> tag is used as a container for HTML elements - which is then styled
with CSS or manipulated with JavaScript.
For Example:
Output:
6. Write Illustration of font tag and base font
tag
<font> tag:
The <font> tag was used to specify the font face, font size, and colour of text.
1. colour of text
2. font of text:
3. size of text:
output:
output:
<basefont> tag:
The <basefont> tag was used to specify a default text-colour, font-
size or font-family for all the text in an HTML document.
The list items will be marked with bullets (small black circles) by default:
Ordered List
An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.
Definition List
HTML Description List or Definition List displays elements in definition form
like in dictionary. The <dl>, <dt> and <dd> tags are used to define description
list.
Directory List
The DIR element is similar to the UL element. It represents a list of short items,
typically up to 20 characters each. Items in a directory list may be arranged in
columns, typically 24 characters wide.
Output:
8. Example of Nested list
Nested List
A list within another list is termed as nested list. If you want a bullet list
inside a numbered list then such type of list will call as nested list.
For Example:
Output:
9. Illustration of image tag and its attribute
HTML Image
HTML img tag is used to display image on the web page. HTML img tag is an
empty tag that contains attributes only, closing tags are not used in HTML
image element.
1) src
2) alt
The alt attribute defines an alternate text for the image, if it can't be displayed.
The value of the alt attribute describes the image in words. The alt attribute is
considered good for SEO prospective.
3) width
4) height
It h3 the height of the image. The HTML height attribute also supports iframe,
image and object elements. It is not recommended now. You should apply CSS
in place of height attribute.
For Example:
Output:
10. Illustration of anchor tag and its
attribute with the help of example
HTML Anchor
The HTML anchor tag defines a hyperlink that links one page to another page. It can create
hyperlink to other web page as well as files, location, or any URL. The "href" attribute is the
most important attribute of the HTML a tag. and which links to destination page or URL.
The href attribute is used to define the address of the file to be linked. In other words, it
points out the destination page.
Link Attributes
For Example:
Output:
11. Design table(colspan) with html tags
HTML table tag is used to display data in tabular form (row * column). There can be
many columns in a row.
We can create a table to display data in tabular form, using <table> element, with
the help of <tr>, <td>, and <th> elements.
In Each table, table row is defined by <tr> tag, table header is defined by <th>, and
table data is defined by <td> tags.
HTML tables are used to manage the layout of the page e.g., header section,
navigation bar, body content, footer section etc. But it is recommended to use div
tag over table to manage the layout of the page.
For Example:
Output:
Design table(colspan)
Output:
12. The Illustration of frame with example
HTML frames are used to divide your browser window into multiple sections
where each section can load a separate HTML document. A collection of frames
in the browser window is known as a frameset. The window is divided into
frames in a similar way the tables are organized: into rows and columns.
Output:
13. An application form
An HTML form is a section of a document which contains controls such as text
fields, password fields, checkboxes, radio buttons, submit button, menus etc.
An HTML form facilitates the user to enter data that is to be sent to the server for
processing such as name, email address, password, phone number, etc.
CSS saves a lot of work. It can control the layout of multiple web
pages all at once.
What is CSS?
Cascading Style Sheets (CSS) is used to format the layout of a webpage.
With CSS, you can control the colour, font, the size of text, the spacing
between elements, how elements are positioned and laid out, what
background images or background colours are to be used, different displays
for different devices and screen sizes, and much more!
Output:
2. Internal CSS: An internal CSS is used to define a style for a single
HTML page. An internal CSS is defined in the <head> section of an
HTML page, within a <style> element. The following example sets the
text colour of ALL the <h1> elements (on that page) to blue, and the
text colour of ALL the <p> elements to red. In addition, the page will
be displayed with a "powder blue" background colour:
output:
3. External CSS: An external style sheet is used to define the style
for many HTML pages. To use an external style sheet, add a link to
it in the <head> section of each HTML page:
Output:
Programs in JavaScript
1. Factorial
Below is the program to find the factorial of a number.
2. Greatest of 3 numbers
Below is the code to find the greatest of 3 numbers.
3. Print “n” numbers
Below is the code to print n numbers in JS.
4. Fibonacci Series
Below is the code to find the Fibonacci Series of number” n”
5. Implementation of If, then, Else
Below is the code of an IF, THEN, ELSE program.
6. Implementation of functions in JS.
A JavaScript function is defined with the function keyword, followed by a name, followed
by parentheses ().
Function names can contain letters, digits, underscores, and dollar signs (same rules as
variables).
Syntax:
object Syntax:
Syntax:
Syntax:
while (condition) {
// code block to be executed
}
5. do/while - also loops through a block of code while a specified
condition is true
Syntax:
do {
// code block to be executed
}
while (condition);
DREAMWEAVER
Dreamweaver
Adobe Dreamweaver is a website creation program that allows you
to build and publish web pages almost anywhere with software that supports
HTML, CSS, JavaScript and more. Dreamweaver is useful for a variety of
web designers, from beginners to advanced professionals.
1. Implementation of Bookmark
Steps to create Bookmark in Dreamweaver:
1) Create a new or open an existing document on Macromedia
Dreamweaver.
2) To insert the bookmark select insert at the top of your screen and
scroll down to Invisible Tags. Another menu will appear and select
Named Anchor.
3) In the window dialog box that appears after selecting Named Anchor,
type in "Bookmark" in the space provided, and select ok.
2. In the Text field, type the text that you want to appear on the web page.
3. Type an email address into the Email field.
4. Click OK.
3. Implementation of Image Mapping
An image map is an image that has been divided into regions or
hotspots.
1. Insert your image into your page using Insert > Image.
6. Now draw your hotspot area in the part of the image you want to
make into a link.
7. Give the link details (link= the page you want to link to, target=
how you want the page to be shown, Target _new opens it in a new
window and alt= the text that show if the picture is not able load).
8. After you have drawn and defined all your hotspots, just click on
the black arrow icon below the map name to get back the arrow
cursor.
3. Dreamweaver pops a dialog box with the fields you need to fill in
to create your rollover image.
Image Name
The name of the rollover image.
Original image
The image you want to display when the page loads. Enter the path in the text box,
or click Browse and select the image.
Rollover Image
The image you want to display when the pointer rolls over the original image. Enter
the path or click Browse to select the image.
4. To preview the rollover image, select File > Real-time Preview, or press F12.
5. In the browser, move the pointer over the original image to see the rollover image.
5. Implementation of Tables
To create a table in Dreamweaver:
1. Start Dreamweaver.
2. On the "File" menu, click on "New". This will open up a new, blank web
page for you to work on.
3. Now it's time to insert the table. Logically enough, any time you want to
insert something on your page, you click on the "Insert" menu. Select the
"table option."
4. The "Insert table" dialog box, which looks like this, will open up.
5. When you have filled out the "Insert table" box, click OK. The table will be
inserted on the page.
6. Implementation of Frames
HTML Frames are used to divide the web browser window into multiple sections where
each section can be loaded separately. A frameset tag is the collection of frames in the
browser window. Creating Frames: Instead of using body tag, use frameset tag in HTML
to use frames in web browser.
There are two ways to create a frameset in Dreamweaver: You can select from
several predefined framesets or you can design it yourself. Below are the steps
to implement frames in Dreamweaver using the Insert option.
Predefined Framesets
Design it yourself
7. Implementing of Form
Create a Form
1. Click "File," then choose "New" and "Blank Page." A fresh HTML page
appears.
2. Select "Insert," then "Form." Click "Form" again. The form area becomes
visible. If you cannot see it, click "View," then "Visual Aids" and
"Invisible Elements."
3. Click on the "<form>" tag, located near the bottom of the Document
window. Select the "Window" menu and choose "Properties." Enter a
name for the form in the area marked "Form Name."
4. Select the "Insert" menu and click "Form." Choose a form element to
insert, such as "Text Field" or "Radio Button." Repeat this step until the
form has all the elements you want.
5. Click "Insert," then "Form" and "Button." This button is required so that
users can submit the form. If you want to change the name of the button,
select the button and click "Window," then "Properties." Change the
name in the "Label" box.
8. Implementing of Listing
Lists bring order and structure to text on the Web. Large blocks of text are
difficult to read onscreen, so lists break things into manageable highlights.
Lists items are formatted in <li>...</li> tag pairs for each item. The list in its
entirety also needs to be defined. The manner in which this is done depends on
the type of list.
I. To configure the list and then type the list items, position the cursor
where you want to start the list. If you're converting existing text into
a list, select the text.
II. In the Property inspector, click the Unordered List button. You can
also select Text, List, Unordered List.
I. To configure the list and then type the list items, position the
cursor where you want to start the list. If you're converting existing
text into a list, select the text.
II. In the Property inspector, click the Ordered List button. You
can also select Text, List, Unordered List.
3. Definition List
The <dl> tag defines a description list. The <dl> tag is used in conjunction
with <dt> (defines terms/names) and <dd> (describes each term/name).
I. To configure the list and then type the list items, position the cursor
where you want to start the list. If you're converting existing text
into a list, select the text.
II. In the Property inspector, click the Definition List button. You
can also select Text, List, Unordered List.
Insertion of image is only possible in Design view. To insert an image, follow the
steps:
1. Place the insertion point where you want the image to appear in the Document
window and select Insert>Image or click on the image icon in the Common
insert bar at the top of the screen.
2. Browse to select the image or content source that you want to insert.
3. Click OK.
FLASH
Flash
Flash, also known as Adobe Flash is a multimedia graphic software that is
used to create animations. The animations are made for so many purposes,
for example, movies, games, desktop presentations, web applications, etc.
Flash is compatible with all web browsers and is one of the most popular
technologies on the internet. It was created by Macromedia, and initially, it
was created for web applications only.
Output
2. Grouping shapes in flash.
GROUPING
the act or process of combining in groups.
a set of objects combined in a group.
Step 2: The work screen will appear, now select the Text Tool from the
toolbar and write Web Development and Designing on the stage.
Step 3: Now select the text and then go to modify and click to break apart.
Step 4: Then it will convert all letters into new layers then convert all letters
to symbol by going to modify and click to convert to symbol.
Step 7: Repeat step 6 at the end of the path in second frame (i.e., 50 seconds
frame)
Step 8: Select both the frames and add motion tween
Step 9: Now press CTR+ENTER and the output will be shown of a bouncing
football.
Bibliography
https://www.javatpoint.com/what-is-html
https://www.techopedia.com/definition/3929/javascript-
js#:~:text=Javascript%20%28JS%29%20is%20a%20scripting%20l
a nguages%2C%20primarily%20used,web%20pages%20in
%20an
%20interactive%20and%20dynamic%20fashion.
https://www.geeksforgeeks.org/loops-in-javascript/
https://www.geeksforgeeks.org/what-is-dreamweaver/
https://helpx.adobe.com/dreamweaver/using/insert-edit-
images.html
https://www.geeksforgeeks.org/introduction-to-macromedia-
flash-8/
https://www.w3schools.com/