1) Which of the following is the correct structure of an HTML document? a) b) c) d) 2) Where should the <title> tag always be written? a) Inside <body> b) Inside <html> c) Inside <head> d) After </html> 3) Which code correctly adds a horizontal line after a paragraph? a) <p>Hello</p><br> b) <p>Hello</p><hr> c) <hr>Hello</hr> d) <hr><p>Hello</p></hr> 4) Which tag moves text to the next line without starting a new paragraph? a) <p> b) <hr> c) <br> d) <next> 5) Which is the correct way to make text bold, italic, and underlined? a) <b><i><u>Text</u></i></b> b) <b><i>Text</u></i></b> c) <u><b>Text</b></i> d) <b><i><u>Text<b></i></u> 6) A student wants to display “Welcome” in blue color, font size 5, and Comic Sans MS style. Which code is correct? a) <font face="Comic Sans MS" size="5" color="blue">Welcome</font> b) <font font="Comic Sans MS" size=5 colour="blue">Welcome</font> c) <font face="Comic Sans" size="big" color="blue">Welcome</font> d) <font face="Comic Sans MS" color="blue">Welcome</font> 7) Which tag must always be closed? a) <hr> b) <br> c) <font> d) <!doctype html> 8) Where should all visible content be placed in an HTML page? a) Inside <head> b) Before <!doctype html> c) Inside <body> d) Inside <title> 9) Which option correctly uses heading tags in order, from bigger text to smaller text? a) b) c) d) 10) What is the correct usage of image tag in HTML? a) <img src="./Mypic.jpg"></img> b) <img scr="./MyPic.jpg"> c) <imgsrc="./Mypic.png"> d) <img src="./Mypic.png">

Leaderboard

Visual style

Options

Switch template

Continue editing: ?