Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a simple DOM hierarchy representing the mark - up found in DOM _ Assignment.html . DO NOT USE THE MARKUP YOUR CREATED FOR TASK

Create a simple DOM hierarchy representing the mark-up found in DOM_Assignment.html.
DO NOT USE THE MARKUP YOUR CREATED FOR TASK #1- use the provided DOM_Assignment.html file.
You may find it helpful to modify the layout of the code to help you understand the DOM relationships. You can use Visio or a similar program to create this file - or you can create a hand drawn version. When submitting a hand drawn version, take a picture of the diagram using your phone and submit that.
NOTE: I am only interested in you creating the hierarchy for the elements - you do not have to detail the text content.
Once you have completed your hierarchy, answer the following question. Your answers should be in terms of the relationships that we discussed in class (parent, child, sibling, ancestor, descendent). Use the relationship that is most accurate (i.e. A parent would be more accurate than an ancestor)
What is the relationship between the main heading and the footer?
-What is the relationship between the anchor elements and the article?
What is the relationship between the em and the article?
What is the relationship between the two articles?
What is the relationship between the first occurrence of an h2(What are you doing?) and the second occurrence of a p element (This is...)?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

More Books

Students also viewed these Databases questions

Question

Persuading Your Audience Strategies for

Answered: 1 week ago