0% found this document useful (0 votes)
6 views4 pages

WT Assignment

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

WT Assignment

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

ASSIGNMENT

subuitted by
Hautif Laudesa
BCA - CA
04329802021

Q: write a g hort -note on


Document Object Modd (Don)
Answe DON Document Object modul
Taras vipt cam wit Hu HTML Dem.
clans and change all the clement
o cu HTmL duo cunaunk Wlun
a web page Ug

Jaded , the boourer Gratu


a DO M of Hoe Page.
Te HTML DOM Lug

conshuded as A hee of Object.

DO CUMENT

ROOT ELEMENT
Chtml)
Cum eut
(had Element
(body›
Elures
Chirle>

Attributes Clomowt-
Tuck wWeb".
Clarent
Kimy lattez a›

Text
Text My
Luk
WtHa Hue objet model IS con change all
HTM dumouts , HTML attributes &
Qu
AL HAe
aime Doge a TH Ti
css thyles
Cau remove aud add HTML
attribute
react • Ts can also
to all Arts tig HTML
events & can create
mew ones Pu Hora page.
Dont
The DoM
US a W3 C (world wide Web100
{Faundard. The Dom
a cassiug documet. defuss a saudad fer
L\

we W3C DOM üg
muchal tutufau a platform au languge-
S quibk Ho Hat allows program
dynamically actass aud aud
Corteut ghruchue aud Shyle update tue
/ "t a do cunout."
TW HTML DO
is a graundad co eut uradlal
aud programming Putafaue
KY HTmL. It defines
› HTML clements a Obj eug
* Tue properties
9 all HTML Jamewts
- Tue methools
Ho access all HTML clemeut
- The events Aor all HTML & lonents
(\
'The HTML DOM Jes g Haudav for how K
get change radd Oy delete
HTML elemeut!
Write a ghot noti 8
Modide CRoM). Browser Objeur

AnsweR : Com
Brouger 0bjed Modil.
BOM vis a brouge - spectic
convention
all tue. Objects exposed loy He aluing ho
ThE BoM allouu web - brousser.

brousses. Tava Script to "'futuau with Hae


Tue
objec og window
represents
window curd Li 1 k corn's pondiva a brewper
A window features.
Ahjeut &s caste
Hae browfel Shelf. oust ovati ally by
Jawa Scrips unadou
3 Coen obje ut
informahon about Lue cowlatus
TH can Leo Le surren.
waitsne
prehix, upturut fue window
* Few Poo butes ane:-
sanu, uidth : ushuurns
- scran-heighter:›sutuens wo's suren widta in Pix als.
> ¿usen • avail wilti:- suctions seer
user's
height fu Pixely.
in pirels without Jueen
twelfas features.
bretoNE wictu

› g uran - orailhuiqut :s suturns user'S g uran


pro els heigut
wt Howt intufara fu
features.
- sueen. color Dept 1-3
returns tue bit (numbu) to
be used to olisplay one color.

Sueen. piscel Depin 1-s returns the pixel debta PJ pue


queen.

You might also like