Dom Structure in html

824 views

Published on

Dom Structure in html

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
824
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Dom Structure in html

  1. 1. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  2. 2. DOM in HTML 27 Shanu k k shanukk89@gmail.com www.facebook.com/shan unni twitter.com/shanu in.linkedin.com/in/shanu k k 9656153432 Typing Speed:
  3. 3. What is dom • The DOM is a W3C (World Wide Web Consortium) standard. • "The W3C Document Object Model (DOM) is a platform and language-neutral interface that allows programs and scripts to dynamically access and update the content, structure, and style of a document."
  4. 4. What is the HTML DOM? • A standard object model for HTML • A standard programming interface for HTML • A W3C standard • The HTML DOM is a standard for how to get, change, add, or delete HTML elements.
  5. 5. Dom tree
  6. 6. • The nodes in the node tree have a hierarchical relationship • In a node tree, the top node is called the root • Every node has exactly one parent, except the root (which has no parent) • A node can have any number of children • Siblings are nodes with the same parent to each other.
  7. 7. • <html> <head> <title>baabtra!!</title> </head> <body> <h1>mukkom</h1> <p>nice</p> </body> </html>
  8. 8. • The <html> node has no parent node; it is the root node • The <html> node has two child nodes: <head> and <body> • The <head> node has one child node: the <title> node • The <title> node also has one child node: the text node . • The <h1> and <p> nodes are siblings and child nodes of <body>
  9. 9. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  10. 10. Contact Us Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com

×