Sunteți pe pagina 1din 3

Smt.

Chandaben Mohanbhai Patel Institute of Computer Applications


University Elective
CA224 Introduction to Web Designing

Assignment – 3

Date of Assignment: 26/07/2019

1. Create a web page demonstrating all marquee effects on the text and/or image.

2. Create a web page having following features with contents given in text file “content.txt”. Make use of
style attribute.
 A center aligned heading.
 A paragraph with arial 30px red color font.
 A heading aligned center with background color red and text color white.
 Another paragraph with background color yellow with green text which is center aligned.

3. Create a web page to look like following.

4. Add the following text to the webpage created in Problem no. 3. Make use of the span tag with style
attribute.

When we want to format only a part of the content we can use the <span> tag. The text can have
different format than normal text.
Smt. Chandaben Mohanbhai Patel Institute of Computer Applications
University Elective
CA224 Introduction to Web Designing

5. Create a webpage to look like following. (Use font size style for div tag as 50pt)

Summary of Marquee tag attributes

Attribute
Description
width provides the width or breadth of a marquee. For example width="10" or
width="20%"

height provides the height or length of a marquee. For example height="20" or


height="30%"

direction provides the direction or way in which your marquee will allow you to scroll.
The value of this attribute can be: left, right, up or down

scrolldelay provides a feature whose value will be used for delaying among each jump.

scrollamount provides a value for speeding the marquee feature

behavior provides the scrolling type in a marquee. That scrolling can be like: sliding,
scrolling or alternate

loop provides how many times the marquee will loop

bgcolor provides a background color where the value will be either the name of the color
or the hexadecimal color-code.

vspace provides a vertical space and its value can be like: vspace="20" or vspace="30%"
Smt. Chandaben Mohanbhai Patel Institute of Computer Applications
University Elective
CA224 Introduction to Web Designing

Div and Span tag summary

Tag Description
<div> Can be used to style blocks of contents

<span> Can be used to style part of the text.

Style attribute summary

 Use the style attribute for styling HTML elements


 Use background-color for background color
 Use color for text colors
 Use font-family for text fonts
 Use font-size for text sizes
 Use text-align for text alignment

S-ar putea să vă placă și