Moksha - Test 1 - HTML

 



HTML Test 1

 

1)      Write the basic structure of the HTML template?

2)      What are inline elements and block-level elements in HTML?

3)      In how many ways can a heading be written in HTML?

4)      How can we create a hyperlink in HTML?

5)      How to link an external css file to html?

6)      How to change font size of a paragraph just using HTML tags?

7)      Write all the properties of flex box?

8)      Does a <! DOCTYPE html> tag is a HTML tag?

9)      What is the use of a span tag? Give one example?

10)  How to create list with Roman numeral?

11)  What is the correct HTML for inserting an image?

a.       <img alt="MyImage">image.gif</img>

b.      <image src="image.gif" alt="MyImage">

c.       <img href="image.gif" alt="MyImage">

d.      <img src="image.gif" alt="MyImage">    

12)  What is the correct HTML for inserting a background image?

a.       <body img="bg-image:url(image.jpg)">

b.      <body style="background-image:url(background.gif)">

c.       <body bg="background.gif">

d.      <background img="background.gif">

13)  Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?

a.       src  

b.      longdesc

c.       alt

d.      title

14)  What is the correct HTML for making a text input field?

a.       <textfield>

b.      <input type="textfield">

c.       <input type="text">

d.      <textinput type="text">

15)  Who is making the Web standards?

a.       Microsoft   

b.      The World Wide Web Consortium

c.       Mozilla

d.      Google

Comments

Popular posts from this blog

FrontEnd - FAQs - Part 1

CoreJava - ClassesObjectsMethods - Assignment

Java Script - FAQs