Short and Descriptive HTML Questions and Answers for beginners, interview preparation and quick revision. You can also ask HTML Questions by dropping it in the form below. Follow our guide for complete tutorial.
Q 1 – What is HTML?
A – HTML stands for HyperText Markup Language. It is the language of the World Wide Web used for creating and displaying pages on the Web. The HTML content and the tags are the building blocks that formats it for displaying.
Q 2 – What are HTML tags?
A – HTML tags are used to place content properly. Two tags; Open tag (<) and closed tag (>) are used within HTML.
Q 3 – Do all HTML tags are used in pair?
A – No, there are single a few HTML tags like <img> and <br> that can be used without their closing tag.
Q 4 – What lists can be used when for designing a HTML page?
A – You can insert any or a combination of the following HTML lists types:
- Definition list
- Directory list
- Ordered list
- Unordered list
- Menu list
Each of the above mentioned list uses a different tag when used.
Q 5 – How to insert comments in HTML?
A – You can insert comments in HTML using open and closed tags “<!–” and “–>“.
<!– Comment –>
Q 6 – How do character entities display on all systems?
A – Some character entities cannot be displayed on all systems. It happens when a certain browser within the operating system does not support the characters. However, these characters appears as boxes.
Q 7 – What is image map in HTML?
A – When different web pages are linked using one image, it is known as image mapping. Different segments can be defined in an image using image map.
Q 8 – Why white space collapsing is useful?
A – White space collapsing are blank sequence or single space characters in HTML. The browser collapses many spaces into one. Multiple text lines can be indented without considering multiple spaces. White space organizes HTML code into a clean format.