Question:- What is the use of a span tag? Give one example.
Answer:- The span tag is used for following things: - For adding color on text - For adding background on text - Highlight any color text
Question:- What is the use of an iframe tag?
Answer:- An iframe is used to display a web page within a web page.
Question:- What are the entities in HTML?
Answer:- 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.
Question:- 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.
Answer:- An URL is encoded to convert non-ASCII characters into a format that can be used over the Internet because a URL is sent over the Internet by using the ASCII character-set only. If a URL contains characters outside the ASCII set, the URL has to be converted. The non-ASCII characters are replaced with a "%" followed by hexadecimal digits.
Question:- What is the canvas element in HTML5?
Answer:- The canvas element is a container that is used to draw graphics on the web page using scripting language like JavaScript. It allows for dynamic and scriptable rendering of 2D shapes and bitmap images. There are several methods in canvas to draw paths, boxes, circles, text and add images.
Question:- What is SVG?
Answer:- HTML SVG is used to describe the two-dimensional vector and vector/raster graphics. SVG images and their behaviors are defined in XML text files. So as XML files, you can create and edit an SVG image with the text editor. It is mostly used for vector type diagrams like pie charts, 2-Dimensional graphs in an X, Y coordinate system.
Question:- What are the different new form element types in HTML 5?
Answer:- Following is a list of 10 frequently used new elements in HTML 5: - Color - Date - Datetime-local - Email - Time - Url - Range - Telephone - Number - Search
Question:- Is there any need to change the web browsers to support HTML5?
Answer:- No. Almost all browsers (updated versions) support HTML 5. For example Chrome, Firefox, Opera, Safari, IE.
Question:- Which type of video formats are supported by HTML5?
Answer:- HTML 5 supports three types of video format: -mp4 -WebM -Ogg
Question:- Is audio tag supported in HTML 5?
Answer:- Yes. It is used to add sound or music files on the web page. There are three supported file formats for HTML 5 audio tag. 1. mp3 2. WAV 3. Ogg
Question:- What is the difference between progress and meter tag?
Answer:- The progress tag is used to represent the progress of the task only while the meter tag is used to measure data within a given range.
Question:- What is the use of figure tag in HTML 5?
Answer:- The figure tag is used to add a photo in the document on the web page. It is used to handle the group of diagrams, photos, code listing with some embedded content.
Question:- What is the use of figcaption tag in HTML 5?
Answer:- It is used to provide a caption to an image.
Question:- What is button tag?
Answer:- The button tag is used in HTML 5. It is used to create a clickable button within the HTML form on the web page. It is generally used to create a "submit" or "reset" button.
