Question 1 (a) Show your understanding of the fundamentals of HTML, CSS and Javascript by answering the following in det

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Question 1 (a) Show your understanding of the fundamentals of HTML, CSS and Javascript by answering the following in det

Post by answerhappygod »

Question 1
(a) Show your understanding of the fundamentals of HTML,
CSS and Javascript by answering the following in
detail:

(i) Discuss the main differences between the legacy DOM
(document object model) and the W3C DOM, and explain how each can
be used by JavaScript to access an array of all the hyperlinks in
an HTML document.

(ii) Briefly describe two ways in which JavaScript code can be
invoked from an HTML page, providing examples of the syntax
used.

(iii) Describe, with examples, two ways that a JQuery function
can be invoked when a page is loaded by the browser and briefly
explain the main difference between their behaviours.

(iv) Outline the actions taken by both the web browser and the
web server (assuming that both are using HTTP 1.1) when a user
clicks on a hyperlink which leads to a JSP page with four
<img> tags but only three distinct images (i.e. one of the
images is repeated). Your answer should include the expected number
and duration of any socket connections and the type and number of
HTTP requests.

(v) Explain the difference between internal and external style
sheets in CSS and describe the circumstances in which each should
be used.

(vi) With the aid of a comprehensive example, explain the
structure of a typical web application URL.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply