SlideShare a Scribd company logo
1 of 15
The Document Object
Presentation by Saw Zin Min Tun
The Document Object
• Defining the Document Object
• Using the Properties of the Document Object
• Using the Methods of the Document Object
Defining the Document Object
• The document object is an object that is created by the
browser of each new HTML page(document) that is
viewed.
• By doing this, JavaScript gives you access to a number of
properties and methods that can affect the document in
various ways.
• You have been using the write() method of the document
object.
Using the Properties of the
Document Object
• alinkColor
• Anchors
• bgColor
• dir
• fgColor
• formName
• linkColor
Using the Properties of the
Document Object
• URL
• vlinkColor
Using the Properties of the
Document Object
• alinkColor
 The alinkColor property holds the value of the active link
color(the color of a link when it is clicked) for the HTML
document.
 Returns the hexadecimal value of the active link color of the
document.
Using the Properties of the
Document Object
• Anchors
 The anchors property is actually an array that is set by the
browser for all the named anchors in a document (such as
<A NAME=“top”>).
 An array of all the named anchors in the document.
Using the Properties of the
Document Object
• bgColor
 The bgColor property holds the value of the background
color of a Web page.
 Returns the hexadecimal value of the background color of
the document.
 Eg: document.bgColor = “lightblue”;
Using the Properties of the
Document Object
• dir
The dir property returns a string value that represents the readin
direction of the document.
This value can be either ltr(left to right) or rtl(right to left).
Eg: document.dir = “rtl/ltr”;
Using the Properties of the
Document Object
• fgColor
 The fgColor property is the equivalent of the regular text color on a
Web page.
 The “fg” in this property stands for foreground.
 Returns the hexadecimal value of the default text color of the
document.
 Eg: document.fbColor
Using the Properties of the
Document Object
• formName
 The formName property isn’t actually a property itself.
 Any time you name a form, you create a formName property, but
the property is actually the name of the form and not formName.
Using the Properties of the
Document Object
• linkColor
 The linkColor property holds the value of the link color of the
document.
 Returns the hexadecimal value of the default link color for the
document
 Eg: document.linkColor = “#0000FF”;
Using the Properties of the
Document Object
• URL
 The URL property holds the value of the full URL of the current
document.
 This information can be useful if you print it at the bottom of
your HTML page, because it will show the page URL for anyone
who prints out your page.
 Returns the URL of the current document
Using the Properties of the
Document Object
• vlinkColor
 The vlinkColor property holds the RGB code for the visited link
color on a Web page.
 Returns the hexadecimal value of the visited link color for the
document.
 Eg: document.vlinkColor = “#0000FF”;
Thank you!

More Related Content

What's hot

What's hot (20)

Dhtml ppt (2)
Dhtml ppt (2)Dhtml ppt (2)
Dhtml ppt (2)
 
Xml nisha dwivedi
Xml nisha dwivediXml nisha dwivedi
Xml nisha dwivedi
 
Dhtml
DhtmlDhtml
Dhtml
 
Introduction to mongo db
Introduction to mongo dbIntroduction to mongo db
Introduction to mongo db
 
Dynamic HTML (DHTML)
Dynamic HTML (DHTML)Dynamic HTML (DHTML)
Dynamic HTML (DHTML)
 
Basics and different xml files used in android
Basics and different xml files used in androidBasics and different xml files used in android
Basics and different xml files used in android
 
Dom date and objects and event handling
Dom date and objects and event handlingDom date and objects and event handling
Dom date and objects and event handling
 
Markup Languages
Markup Languages Markup Languages
Markup Languages
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Dom in javascript
Dom in javascriptDom in javascript
Dom in javascript
 
Xml 215-presentation
Xml 215-presentationXml 215-presentation
Xml 215-presentation
 
XML
XMLXML
XML
 
Building Expedia’s Travel Graph using MongoDB
Building Expedia’s Travel Graph using MongoDBBuilding Expedia’s Travel Graph using MongoDB
Building Expedia’s Travel Graph using MongoDB
 
Web Scraping and Data Extraction Service
Web Scraping and Data Extraction ServiceWeb Scraping and Data Extraction Service
Web Scraping and Data Extraction Service
 
DTD
DTDDTD
DTD
 
HyperGraphQL
HyperGraphQLHyperGraphQL
HyperGraphQL
 
Xml
XmlXml
Xml
 
Unit iv xml dom
Unit iv xml domUnit iv xml dom
Unit iv xml dom
 
Web Scraping Basics
Web Scraping BasicsWeb Scraping Basics
Web Scraping Basics
 

Viewers also liked

Hamilton Southeastern Community Workshop - 10/10/12
Hamilton Southeastern Community Workshop - 10/10/12Hamilton Southeastern Community Workshop - 10/10/12
Hamilton Southeastern Community Workshop - 10/10/12thethirdteacher
 
Preguntas reconocimiento Inglés I - Maritza Pérez
Preguntas reconocimiento Inglés I - Maritza PérezPreguntas reconocimiento Inglés I - Maritza Pérez
Preguntas reconocimiento Inglés I - Maritza Pérez08111230
 
Depositionfeatures
DepositionfeaturesDepositionfeatures
Depositionfeaturestudorgeog
 
Tr abajo de computacion
Tr abajo de computacionTr abajo de computacion
Tr abajo de computacionmadena372
 
Interrogatifs, pronoms tableau- kjg(-kplng-171011)
  Interrogatifs, pronoms tableau- kjg(-kplng-171011)  Interrogatifs, pronoms tableau- kjg(-kplng-171011)
Interrogatifs, pronoms tableau- kjg(-kplng-171011)Katiajag
 
Design For Social Impact: An Overview of a Movement
Design For Social Impact: An Overview of a MovementDesign For Social Impact: An Overview of a Movement
Design For Social Impact: An Overview of a MovementSami Nerenberg
 
CAMBRIDGE SEPTEMBER-12-09
CAMBRIDGE SEPTEMBER-12-09CAMBRIDGE SEPTEMBER-12-09
CAMBRIDGE SEPTEMBER-12-09steensgaard
 
Tutoría padres sexto
Tutoría padres sextoTutoría padres sexto
Tutoría padres sextoTic Gandhi
 
MANAGING ONESELF IN THE DIGITAL WORLD
MANAGING ONESELF IN THE DIGITAL WORLDMANAGING ONESELF IN THE DIGITAL WORLD
MANAGING ONESELF IN THE DIGITAL WORLDGitanjali Maria
 
Trabajo de investigación por Liliana Farinango
Trabajo de investigación por Liliana FarinangoTrabajo de investigación por Liliana Farinango
Trabajo de investigación por Liliana Farinangolilianafarinango
 
GES Day 2013: Design for Social Impact
GES Day 2013: Design for Social ImpactGES Day 2013: Design for Social Impact
GES Day 2013: Design for Social Impactscmalin28
 
Diagnosis of Spine Tuberculosis
Diagnosis of Spine TuberculosisDiagnosis of Spine Tuberculosis
Diagnosis of Spine TuberculosisJagjit Khosla
 
Project England
Project England Project England
Project England popimerg
 
The Impacts Of Tourism In Kenya
The Impacts Of Tourism In KenyaThe Impacts Of Tourism In Kenya
The Impacts Of Tourism In Kenyawhiskeyhj
 

Viewers also liked (20)

Hamilton Southeastern Community Workshop - 10/10/12
Hamilton Southeastern Community Workshop - 10/10/12Hamilton Southeastern Community Workshop - 10/10/12
Hamilton Southeastern Community Workshop - 10/10/12
 
Le pronom
Le pronomLe pronom
Le pronom
 
GERENCIA DE PROYECTOS
GERENCIA DE PROYECTOSGERENCIA DE PROYECTOS
GERENCIA DE PROYECTOS
 
Preguntas reconocimiento Inglés I - Maritza Pérez
Preguntas reconocimiento Inglés I - Maritza PérezPreguntas reconocimiento Inglés I - Maritza Pérez
Preguntas reconocimiento Inglés I - Maritza Pérez
 
Depositionfeatures
DepositionfeaturesDepositionfeatures
Depositionfeatures
 
Tr abajo de computacion
Tr abajo de computacionTr abajo de computacion
Tr abajo de computacion
 
Revista estefany
Revista estefanyRevista estefany
Revista estefany
 
van Zyl PH - 36650539
van Zyl PH - 36650539van Zyl PH - 36650539
van Zyl PH - 36650539
 
Interrogatifs, pronoms tableau- kjg(-kplng-171011)
  Interrogatifs, pronoms tableau- kjg(-kplng-171011)  Interrogatifs, pronoms tableau- kjg(-kplng-171011)
Interrogatifs, pronoms tableau- kjg(-kplng-171011)
 
Design For Social Impact: An Overview of a Movement
Design For Social Impact: An Overview of a MovementDesign For Social Impact: An Overview of a Movement
Design For Social Impact: An Overview of a Movement
 
CAMBRIDGE SEPTEMBER-12-09
CAMBRIDGE SEPTEMBER-12-09CAMBRIDGE SEPTEMBER-12-09
CAMBRIDGE SEPTEMBER-12-09
 
Tutoría padres sexto
Tutoría padres sextoTutoría padres sexto
Tutoría padres sexto
 
MANAGING ONESELF IN THE DIGITAL WORLD
MANAGING ONESELF IN THE DIGITAL WORLDMANAGING ONESELF IN THE DIGITAL WORLD
MANAGING ONESELF IN THE DIGITAL WORLD
 
شعراء وأدباء
شعراء وأدباءشعراء وأدباء
شعراء وأدباء
 
Neue Unterrichts Methoden
Neue Unterrichts MethodenNeue Unterrichts Methoden
Neue Unterrichts Methoden
 
Trabajo de investigación por Liliana Farinango
Trabajo de investigación por Liliana FarinangoTrabajo de investigación por Liliana Farinango
Trabajo de investigación por Liliana Farinango
 
GES Day 2013: Design for Social Impact
GES Day 2013: Design for Social ImpactGES Day 2013: Design for Social Impact
GES Day 2013: Design for Social Impact
 
Diagnosis of Spine Tuberculosis
Diagnosis of Spine TuberculosisDiagnosis of Spine Tuberculosis
Diagnosis of Spine Tuberculosis
 
Project England
Project England Project England
Project England
 
The Impacts Of Tourism In Kenya
The Impacts Of Tourism In KenyaThe Impacts Of Tourism In Kenya
The Impacts Of Tourism In Kenya
 

Similar to The document object

Learn javascript easy steps
Learn javascript easy stepsLearn javascript easy steps
Learn javascript easy stepsprince Loffar
 
Easy javascript
Easy javascriptEasy javascript
Easy javascriptBui Kiet
 
Tracking Changes through EARMARK: a Theoretical Perspective and an Implementa...
Tracking Changes through EARMARK: a Theoretical Perspective and an Implementa...Tracking Changes through EARMARK: a Theoretical Perspective and an Implementa...
Tracking Changes through EARMARK: a Theoretical Perspective and an Implementa...University of Bologna
 
WEB TECHNOLOGY Unit-4.pptx
WEB TECHNOLOGY Unit-4.pptxWEB TECHNOLOGY Unit-4.pptx
WEB TECHNOLOGY Unit-4.pptxkarthiksmart21
 
Applied component i unit 2
Applied component i unit 2Applied component i unit 2
Applied component i unit 2Pramod Redekar
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to JavascriptSeble Nigussie
 
Document Object Model (DOM)
Document Object Model (DOM)Document Object Model (DOM)
Document Object Model (DOM)GOPAL BASAK
 
Stencil the time for vanilla web components has arrived
Stencil the time for vanilla web components has arrivedStencil the time for vanilla web components has arrived
Stencil the time for vanilla web components has arrivedGil Fink
 
Learning About JavaScript (…and its little buddy, JQuery!)
Learning About JavaScript (…and its little buddy, JQuery!)Learning About JavaScript (…and its little buddy, JQuery!)
Learning About JavaScript (…and its little buddy, JQuery!)Julie Meloni
 
12. session 12 java script objects
12. session 12   java script objects12. session 12   java script objects
12. session 12 java script objectsPhúc Đỗ
 
Cordova training : Day 4 - Advanced Javascript
Cordova training : Day 4 - Advanced JavascriptCordova training : Day 4 - Advanced Javascript
Cordova training : Day 4 - Advanced JavascriptBinu Paul
 
HSC INFORMATION TECHNOLOGY CHAPTER 3 ADVANCED JAVASCRIPT
HSC INFORMATION TECHNOLOGY CHAPTER 3 ADVANCED JAVASCRIPTHSC INFORMATION TECHNOLOGY CHAPTER 3 ADVANCED JAVASCRIPT
HSC INFORMATION TECHNOLOGY CHAPTER 3 ADVANCED JAVASCRIPTAAFREEN SHAIKH
 

Similar to The document object (20)

Learn javascript easy steps
Learn javascript easy stepsLearn javascript easy steps
Learn javascript easy steps
 
Easy javascript
Easy javascriptEasy javascript
Easy javascript
 
Tracking Changes through EARMARK: a Theoretical Perspective and an Implementa...
Tracking Changes through EARMARK: a Theoretical Perspective and an Implementa...Tracking Changes through EARMARK: a Theoretical Perspective and an Implementa...
Tracking Changes through EARMARK: a Theoretical Perspective and an Implementa...
 
Dom parser
Dom parserDom parser
Dom parser
 
Xml
XmlXml
Xml
 
Java script
Java scriptJava script
Java script
 
WEB TECHNOLOGY Unit-4.pptx
WEB TECHNOLOGY Unit-4.pptxWEB TECHNOLOGY Unit-4.pptx
WEB TECHNOLOGY Unit-4.pptx
 
Applied component i unit 2
Applied component i unit 2Applied component i unit 2
Applied component i unit 2
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
Document Object Model (DOM)
Document Object Model (DOM)Document Object Model (DOM)
Document Object Model (DOM)
 
Stencil the time for vanilla web components has arrived
Stencil the time for vanilla web components has arrivedStencil the time for vanilla web components has arrived
Stencil the time for vanilla web components has arrived
 
Part 7
Part 7Part 7
Part 7
 
Learning About JavaScript (…and its little buddy, JQuery!)
Learning About JavaScript (…and its little buddy, JQuery!)Learning About JavaScript (…and its little buddy, JQuery!)
Learning About JavaScript (…and its little buddy, JQuery!)
 
12. session 12 java script objects
12. session 12   java script objects12. session 12   java script objects
12. session 12 java script objects
 
Cordova training : Day 4 - Advanced Javascript
Cordova training : Day 4 - Advanced JavascriptCordova training : Day 4 - Advanced Javascript
Cordova training : Day 4 - Advanced Javascript
 
HSC INFORMATION TECHNOLOGY CHAPTER 3 ADVANCED JAVASCRIPT
HSC INFORMATION TECHNOLOGY CHAPTER 3 ADVANCED JAVASCRIPTHSC INFORMATION TECHNOLOGY CHAPTER 3 ADVANCED JAVASCRIPT
HSC INFORMATION TECHNOLOGY CHAPTER 3 ADVANCED JAVASCRIPT
 
HTML files in python.pptx
HTML files in python.pptxHTML files in python.pptx
HTML files in python.pptx
 
XML
XMLXML
XML
 
Web Technology Part 3
Web Technology Part 3Web Technology Part 3
Web Technology Part 3
 
Les07
Les07Les07
Les07
 

Recently uploaded

办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一diploma 1
 
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Narsimha murthy
 
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree ttt fff
 
Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdfvaibhavkanaujia
 
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...Amil baba
 
Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girlsssuser7cb4ff
 
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一lvtagr7
 
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一Fi L
 
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一F La
 
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130Suhani Kapoor
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130Suhani Kapoor
 
西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造kbdhl05e
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)jennyeacort
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一Fi L
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一z xss
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricksabhishekparmar618
 
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCRdollysharma2066
 
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
办理(USYD毕业证书)澳洲悉尼大学毕业证成绩单原版一比一
 
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
 
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdf
 
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
NO1 Famous Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Add...
 
Call Girls Meghani Nagar 7397865700 Independent Call Girls
Call Girls Meghani Nagar 7397865700  Independent Call GirlsCall Girls Meghani Nagar 7397865700  Independent Call Girls
Call Girls Meghani Nagar 7397865700 Independent Call Girls
 
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Harsh Vihar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
定制(RMIT毕业证书)澳洲墨尔本皇家理工大学毕业证成绩单原版一比一
 
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
 
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
 
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
 
西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造西北大学毕业证学位证成绩单-怎么样办伪造
西北大学毕业证学位证成绩单-怎么样办伪造
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricks
 
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
 
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
 

The document object

  • 1. The Document Object Presentation by Saw Zin Min Tun
  • 2. The Document Object • Defining the Document Object • Using the Properties of the Document Object • Using the Methods of the Document Object
  • 3. Defining the Document Object • The document object is an object that is created by the browser of each new HTML page(document) that is viewed. • By doing this, JavaScript gives you access to a number of properties and methods that can affect the document in various ways. • You have been using the write() method of the document object.
  • 4. Using the Properties of the Document Object • alinkColor • Anchors • bgColor • dir • fgColor • formName • linkColor
  • 5. Using the Properties of the Document Object • URL • vlinkColor
  • 6. Using the Properties of the Document Object • alinkColor  The alinkColor property holds the value of the active link color(the color of a link when it is clicked) for the HTML document.  Returns the hexadecimal value of the active link color of the document.
  • 7. Using the Properties of the Document Object • Anchors  The anchors property is actually an array that is set by the browser for all the named anchors in a document (such as <A NAME=“top”>).  An array of all the named anchors in the document.
  • 8. Using the Properties of the Document Object • bgColor  The bgColor property holds the value of the background color of a Web page.  Returns the hexadecimal value of the background color of the document.  Eg: document.bgColor = “lightblue”;
  • 9. Using the Properties of the Document Object • dir The dir property returns a string value that represents the readin direction of the document. This value can be either ltr(left to right) or rtl(right to left). Eg: document.dir = “rtl/ltr”;
  • 10. Using the Properties of the Document Object • fgColor  The fgColor property is the equivalent of the regular text color on a Web page.  The “fg” in this property stands for foreground.  Returns the hexadecimal value of the default text color of the document.  Eg: document.fbColor
  • 11. Using the Properties of the Document Object • formName  The formName property isn’t actually a property itself.  Any time you name a form, you create a formName property, but the property is actually the name of the form and not formName.
  • 12. Using the Properties of the Document Object • linkColor  The linkColor property holds the value of the link color of the document.  Returns the hexadecimal value of the default link color for the document  Eg: document.linkColor = “#0000FF”;
  • 13. Using the Properties of the Document Object • URL  The URL property holds the value of the full URL of the current document.  This information can be useful if you print it at the bottom of your HTML page, because it will show the page URL for anyone who prints out your page.  Returns the URL of the current document
  • 14. Using the Properties of the Document Object • vlinkColor  The vlinkColor property holds the RGB code for the visited link color on a Web page.  Returns the hexadecimal value of the visited link color for the document.  Eg: document.vlinkColor = “#0000FF”;