HTML5 Multiple choices


Total available count: 25
Subject - Web Development
Subsubject - HTML5

Browsers remove extra spaces when displaying an HTML file.


 

 

 

 



A


Solution:-

Yes, When displaying an HTML file browsers remove extra spaces in the HTML code. Normally, setting margin:0 and padding:0 for the HTML and body elements, as you have done, should be enough to remove all spacing around the page.

For example, if you write the HTML code as below,

<h1>hello, SlightBook!</h1>

The output will be as follows:
hello, SlightBook!




Next 5 multiple choice(s)

1

Which HTML5 element defines navigation links?

2

Which HTML5 element is used to display a scalar measurement within a known range?

3

Which input type defines a week and year control (no time zone)?

4

Which input type defines a slider control?

5

In HTML5, which attribute is used to specify that an input field must be filled out?

Comments