Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Cascading Style Sheet(CSS)

Rating
-
Sold
-
Pages
12
Uploaded on
23-05-2025
Written in
2024/2025

CSS is used to developing a styled web page

Institution
Course

Content preview

ifcTION -III: Dynamic Hyper Text Markup
_,,, Language
. oYNAMIC HTML
12 Did the initial page grab attention?
first Jmpressi_on - Is the menu int~rface interactive enough and visually interesting'?
1,,,erJace Design ls the site trapped in a web of corporate look, feel and cannerl marketing speak?
Corporate Mildew - Does the site generate enough currents of interest based on design and content for
Coriolis Effect the user to comeback?

The above points emphasize the requirements of a good web site.
DHTML is a new and emerging technology that has evolved lo meet the increasing demand for eye-
catching and mind-catching web sites.
DHTML combines HTML with Cascading Style Sheets (CSSs) and Scripting Languages. HTrv!L specifies
aweb page's elements like table, frame, paragraph, bulleted list, etc. Cascading Style Sheets can be used to /


determine an element's size, color, position and a number of other features. Scripting Languages
(Ja,aScript and VBScript) can be used to manipulate the web page's elements so that styles assigned lo
them can change in response to a user's input.

CASCADING STYLE SHEETS
~le Sheets are powerful mechanism for adding styles (e.g. fonts, colors, spacing) to Web documents.
d ey e_nforce standards and uniformity throughout a web site and provide numerous attributes to create
J;~~c effects. With Style Sheets, text and image formatting properties can be predefined in a single list.
i elements on a web page can then be bound to the style sheet. The advantages of a Style Sheet
t Iudes the ability to make o\obal changes to all documents from a single location. Style Sheets are said to
ascade wh en they combineoto specify the appearance of a page.
The ·
Style assignment . the <STYLE> ...</STYL E> tags. Tl,e s) · t'01·
· ·ntax
rnak· process is accomplished with
ingthe · TM ·t- I 'b t
•~ h,t d assignment is simple. Between the <STYLE>...</STYLE> H L tags. spw ic sty e attn u es
. e . The <STYLE>... </STYLE> tags are written within the <HEAD>... </HEAD> tags.
Syntax:
<STYLE
t Type="text/css">
ag {attribute:value; attribute:value ... }
</STVLE>
~- ~~iiiiiiiiiiiiiii.iiiiii____.ijiiii
In the <STYLE> t
CSS
h
ag, t e exp! ess1on
iiiiiiiiijiiiiiiiiiiii~~~~~~~~
. . "Tvpe == text/css"
.1
indicates that the style sheet conforms to

syntax

, PAGE 214 CWAD USING HTML, JAVASCRIPT, DHTML AND PHP

The attributes that can be specified to the <STYLE> tag are Font Attributes. Color and 8
Attributes. Text Attributes. Border Attributes, Margin Attributes and List Attributes. ac

Font Attributes
Attributes Values
font-famih A comma-delimited sequence of font family names (serif, sans-serif, cursi\eJ ---------.
font-st, le Normal, italic or oblique
font-\\ eight Normal. bold, bolder, lighter, or one of the nine numerical \ alues (J 00, 200, 300, 400 .
600. 700.800,900) y
font-size A term that denotes absolute size (xx-small, x-small, small, medium, large. x-larze
large). relative size (larger. smaller). a number (of pixels), percentage (of the ~pa,
element's size)
Table 12.1

Use Of Font Attributes
Example l: (Refer to diagram 12. I)

<HTML>
<HEAD><TITLE> Working with . Silicon Chip Technologies
St) le Sheets using Font
Anributes < TITLE> . Thew=nof ,;,p
<STYLE Type= "text/css''> al · ,:.eir ✓--fi ' •

HI {font-family:arial, helvetica}
P.ecrw. r«.2 'ne

P{font-size: I2pt; font-style: italic}
</STYLE>< HEAD>
<BODY>
<Hl>Silicon Chip
Technologies<Hl>
<P>Silicon Chip Technologies. a Diagram 12.1
private limited company. was
founded in December 1989.
<P>The vision of this company is to provide any corporate client a single entit~ \\ hich addr,~:),.._
all their Software De\elopment. Technical and User Documentation. Training and \1anPo"·
Recruitment needs.

I ,..,/HTML>
'-· ____________________________________,
/ BODY>
·

Color And Background Attributes
Attributes Values
color Sets an element's text-color. A color name or a color code
b:~·~k---;---;--t::S~e~ci~fi:--es--:-th.:.:.e.:..:.c.:.:.o-;-lo..:..r~in:.:..a-=.n.::.:e:.::l:..:.em...:.:...:en::.:t::.:.'s:::.:b_:a:.:::ck::::g~ro:...:u~n~d~.:.'.A~c~o'.._lo~r~n~a-n_e_o_r_a_c_o_lo-,-c-o-:de-
1
back Sets the background image. A l,RL or none
background-repeat With a background image specified. set:, up hO\\ the ,ma!!e repeat, rhroL ghout
page. repeat-x(repeats horizontall: ). repl'at-v(repeat:, ~ ert1call\ ). 1 £ ix,
------~n..:..o:...-. :..:re:i.:.J:.:.e=.: at~-----;:~-:--:-: --:-----------~
Table 12.2

Written for

Institution
Course

Document information

Uploaded on
May 23, 2025
Number of pages
12
Written in
2024/2025
Type
SUMMARY

Subjects

$10.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
santhoshd2

Get to know the seller

Seller avatar
santhoshd2 Bharathiar university
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
11 months
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions