0% found this document useful (0 votes)
116 views1 page

HTML Structure Breakdown

This document provides instructions for an activity involving analyzing the structure of an HTML document through its nodes and subtrees. It outlines identifying the parent nodes, sibling nodes, leaf nodes, nodes per level, depth, and degree of one-level subtrees for the HTML document.

Uploaded by

Marc Agrade
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)
116 views1 page

HTML Structure Breakdown

This document provides instructions for an activity involving analyzing the structure of an HTML document through its nodes and subtrees. It outlines identifying the parent nodes, sibling nodes, leaf nodes, nodes per level, depth, and degree of one-level subtrees for the HTML document.

Uploaded by

Marc Agrade
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

06 Activity 1 - ARG

Instructions

1. PARENT NODES 4. ONE-LEVEL SUBTREES


➢ Html ➢ Html – head, body
➢ Head ➢ Head – meta, title
➢ Body ➢ Body – ul, h1, h2
➢ ul ➢ h2 – a
➢ h2
5. NODES PER LEVEL
2. SIBLINGS ➢ LEVEL 0 – html
➢ Head, body ➢ LEVEL 1 – head, body
➢ Meta, table ➢ LEVEL 2 – metal, title, ul, h1, h2
➢ ul, h1, h2 ➢ LEVEL 3 – li, li, a
➢ li, li
6. DEPTH
3. LEAF OF NODES ➢ 3
➢ Meta
➢ Title 7. DEGREE OF EACH ONE-LEVEL
➢ h1 SUBSTREE
➢ li ➢ Substree html – 2
➢ li ➢ Substree head – 2
➢ a ➢ Substree body – 3
➢ Substree ul – 2
➢ Substree h2 - 1

You might also like