HTML mock QA Set-1 (1)
HTML mock QA Set-1 (1)
PENTAGONSPAC SET-1
E
1.
PENTAGONSPAC
What is HTML5?
It is a frontend part used to design a webpage using Markup Language.
2. E
What are elements in HTML5?
An element in HTML defined by a starting tag with some content and ending
tag.
4. PENTAGONSPAC
What is CSS and what is its relationship with HTML5?
E
HTML5 and CSS are of the core technologies for building web pages. HTML5
provides structure to web page CSS provides styles to the webpage.
PENTAGONSPAC
features, web applications can locally store data within the browser on the client
side. Web storage is also known as DOM storage.
7. E
How do you link to another web page using HTML5?
The <a>(anchor) tag defines a hyperlink and is used to link from one page to
another.
Ordered list
Unordered list
Nested list
PENTAGONSPAC
11. What types of graphics are supported by HTML5?
E
The following technologies are used in web graphics with HTML5 like canvas API,
CSS, JPG, PNG etc.
There are six types of heading tags in HTML which are defined with the
<h1>to<h6> tags.
Each type of heading tag displays different text size from another.
z
<h1> is the largest heading tag and <h6> is smallest heading tag.
PENTAGONSPAC
E
18. What is the use of the span tag? Explain with example
The span tag is used for the following
For adding color on text
To add background on text
Highlight any color text
29. What is the difference between a block-level element and an inline element?
The differences between block-level elements and inline elements are:
31. Which HTML tag is used to display the data in the tabular form?
The HTML table tag is used to display data in tabular form (row * column).
z