Q1.You are developing a web form that includes the following code.
When a user selects the check box, an input text box must be added to the page dynamically. You need toensure that the text box is added. Which function should you use?
Option B is correct.
Q2.You are developing an HTML5 page that has an element with an ID of logo. The page includes the followingHTML.You need to move the logo element lower on the page by five pixels. Which lines of code should you use?(Each correct answer presents part of the solution. Choose two.)
A. document.getElementById("logo") .style.position = "relative";
B. document.getElementByld("logo").Style.top = "5px";
C. document.getElementById("logo").style.top = "-5px";
D. document.getElementById("logo").style.position = "absolute";
Option A,B are correct.
A. if (length = = = 75)
B. if (length = = 75)
C. if (length! = 75)
D. if (length = = "75")
Option B,D are correct.
Q4.You are developing a web page by using HTML5 and C5S3. The page includes a
tag with the ID setto validate. When the page is rendered, the contents of the