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 3 multiple choice(s)

1

In HTML5, what does the <aside> element define?

2

Which HTML5 element is used to specify a header for a document or section?

3

Which HTML5 element defines an article?

Comments