HTML interview Question/ Answers Set – 5

HTML interview Question/ Answers Set – 5

Semantic elements are those which describe the particular meaning to the browser and the developer. Elements like form, table, article, figure, etc., are semantic elements.
progress tag should be used when we want to show the completion progress of a task, whereas if we just want a scalar measurement within a known range or fraction value. Also, we can specify multiple extra attributes for meter tags like ‘form’, ‘low’, ‘high’, ‘min’, etc.
HTML5 supports two kinds of graphics:
  • Canvas - It is like drawing on a whitepaper or a blank webpage. We can add different graphic designs on web pages with available methods for drawing various geometrical shapes.

  • SVG - Scalable Vector Graphics are used mostly for diagrams or icons. It follows the XML format

Following are the significant new data types offered by HTML5:
  • Date - Only select date by using type = "date"
  • Week - Pick a week by using type = "week"
  • Month - Only select month by using type = "month"
  • Time - Only select time by using type = "time".
  • Datetime - Combination of date and time by using type = "datetime"
  • Datetime-local - Combination of date and time by using type = "datetime-local." but ignoring the time zone
  • Color - Accepts multiple colors using type = "color"
  • Email - Accepts one or more email addresses using type = "email"
  • Number - Accepts a numerical value with additional checks like min and max using type = "number"
  • Search - Allows searching queries by inputting text using type = "search"
  • Tel - Allows different phone numbers by using type = "tel"
  • Placeholder - To display a short hint in the input fields before entering a value using type = "placeholder"
  • Range - Accepts a numerical value within a specific range using type = "range"
  • Url - Accepts a web address using type = "url”
Yes. To create a multicolor text on a web page you can use
for the specific texts you want to color.

Post Your Comments & Reviews

Your email address will not be published. Required fields are marked *

*

*