HTML & CSS Test
1) What is <!DOCTYPE html> and write an example ?
2) What is the HTML layout structure?
3) What is Element and Tag and Element_Name and write an
example ?
4) What is an Attribute and write an example ?
5) What difference b/w DIV and SPAN tag and write an example ?
6) What is Image Tag and Example (write 2 attributes with tag)
?
7) What is Anchor Tag and Example (write 2 attributes with
tag) ?
8) What is Class and ID in HTML and write examples ?
9) What are Semantic Elements and write an example ?
10) What is HTML5 Advantage and write examples ?
11) What is <ul> and <ol> and <li> and write examples(with
type and start attribute) ?
12) What are Block level elements and write examples ?
13) What are Inline elements and write an example ?
14) What are void elements in HTML and write examples?
15) If I write Text Content in the body it will display in
Browser or Not ? Why are we using Elements and Tags in HTML
?
—---------------------------------------------------------------
----
16)What are different types of Selectors in CSS and write
examples?
17)What is the BOX model in CSS and a write Diagram?
18)What is the difference b/w Inline style and Internal Style
and external Style and writing example ?
19)What is Pseudo Element and Pseudo Class and write examples?
20)Explain CSS all position property and examples ?
21)Why do we use @media properties in CSS?
22)Write all types of properties in CSS FLEX ?
23)Which properties do we use to display TEXT in the center of
the page?
24)Which property do we use for Square BOX and Circle shape in
CSS ?
25)what is the difference b/w “Display:None” and
“visibility:Hidden” property in CSS?