Title: Html interview questions and Answers for Freshers and Experienced || Master Tutorials
1 HTML
Interview Questions
2What is SVG?
- In HTML 5 , SVG is used for the 2-D vector and
raster graphics. SVG images were defined in XML
text files . SVG is used to make vector diagrams
like - Pie Charts
- 2-Dimensional graphs ...
- ltsvg width100 height100gt
- ltcircle cx50 cy50 r40 strokeyellow
stroke-width4 fillred /gt - lt/svggt
3What are the entities in HTML?
- The HTML character entities are used as a
replacement for reserved characters in HTML. You
can also replace characters that are not present
on your keyboard by entities. These characters
are replaced because some characters are reserved
in HTML. - Result
Description Entity Name
Entity Number
lt less than lt 60
gt greater than gt 62
ampersand amp 38
4Name the supported file formats for audio tag ?
- This tag defines the sound, such as music or
other audio streams. - There are 3 supported file formats
- MP3
- WAV
- OGG
ltaudio controlsgt ltsource srcMaster_Tutorial
s.mp3 typeaudio/mpeggt Learn from
Masters lt/audiogt
5what is the use of a datalist tag?
- Datalist tag provides an autocomplete feature on
the form element. It facilitates users to choose
the predefined options for the users to select
data. - Users will see a drop-down list of predefined
options as they input data. - ltlabelgt
- Enter your favorite color
- ltinput type"text" id"favcolor" list"colors"gt
- ltdatalist id"CktPlayers"gt
- ltoption value"Sachin Tendulkar"gt
- ltoption value"Jacques Kallis"gt
- ltoption value"Ricky Ponting"gt
- lt/datalistgt
- lt/labelgt
6What is the use of figcaption tag in HTML5?
The ltfigcaptiongt element is used to caption the
image. It is an optional tag and can appear
before or after the content within the ltfiguregt
tag. It is used with ltfiguregt element and it can
be placed as the first or last child of the
element. ltfiguregt ltimg src"htmlpages/images/
tajmahal.jpg" alt"Taj Mahal"/gt
ltfigcaptiongtFig.1.1 - A front view of the great
Taj Mahal in Agra.lt/figcaptiongt lt/figuregt
7Thanks!
- Any questions? You can find me at Master
Tutorials