Both div and span are used for giving out the output. While span gives the output with display: inline, div gives output with display: block. Typically, span is used when there is the need to display the elements one after the other, i.e., in a line.
Posted Date:- 2021-08-26 08:58:32
What is the server-sent events in HTML5?
State bullet types available in HTML
What is the purpose of <! Doctype html>?
How will you add the autocomplete feature in a textbox?
What are the most popular audio and video formats for embedding on an HTML5 web page?
Write HTML5 code for creating a hyperlink.
What does a hyperlink mean? Can it be only text?
In HTML5, what is a Microdata?
What does WHATWG stand for in the world of HTML5?
What is a Web Worker in Html5?
What do you understand by image maps in HTML5? How many types does it have?
Do older HTML files work on newer browsers?
What is the application cache in HTML5 and why it is used?
What do you understand by HTML5 Web Storage? Is it any better than Cookies?
Explain the difference between div and span.
Please explain the Geolocation API in HTML5. How will you create a Geolocation object?
What do you understand by <!DOCTYPE>? Name the types of DOCTYPE available in HTML5.
Is it possible for a web page to have multiple <header> and <footer> elements?
Please explain how to indicate the character set being used by a document in HTML5?
What is the use of output tag in HTML5?
Which video and audio formats are used for embedding on web page?
How does an HTML specification differ from a web browser's implementation of the same?
What is new about the relationship between the <header> and <h1> tags in HTML5?
How do you create links to sections within the same page?
How do you insert a copyright symbol on a browser page?
What are the advantages of using HTML5?
What is the use of <audio> and <video> tags in Html5?
What is local storage in HTML5? How it is used?
What is the use of Scalable Vector Graphics (SVG) in HTML5?
Is HTML5 tags are case sensitive?
What is an API and list the API's available in HTML5?
How to insert an image in HTML?
What is the importance of Drag and Drop in HTML5?
What is the minimum number of HTML5 tags that are required to create a Web page?
What is a <meta> tag in HTML5?
Do all HTML tags come in a pair?
Explain the various new tags introduced by HTML5 in Media Elements.
What do you understand by HTML tags? How many tags are required to create a web page in HTML5?
What do you understand by web workers?
Enumerate important HTML5 technologies.
What are the New tags in Media Elements in HTML5?