HTML Basics Flashcards

1
Q

HTML is a case insensitive language

A

we type everything in lower case except the DOCTYPE itself which is also a convention, no rule as such

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
A

This tells browser that this document is html5 document

and previous versions of html have very ugly looking DocType

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Image tag does not have any closing tag

A

because image element can not have any child elements

in versions prior to html5, we used to put the closing tag for image
<img></img>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

RIght click on your code anywhere and open with live server

A

It opens on 127.0.0.1:5500

127.0.0.1 - local host ip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly