HTML Questions English
HTML Questions English
Q1. What is HTML?
HTML stands for HyperText Markup Language, which is the standard markup
language for documents displayed in web browsers.
Q2. What is a style sheet?
A style sheet is a set of style rules that tell a browser how to present a document.
Q3. What are tags?
Tags are the simplest form of information used in HTML, and are used to mark up the
start and end of an HTML element.
Q4. What is a marquee in HTML?
A marquee is a tag in HTML which is used to create a scrolling image with text.
Q5. What is the DOCTYPE declaration in HTML?
The DOCTYPE declaration is used to specify the version of HTML that the web page
is written in. It helps the browser render the page correctly.
Q6. What is the difference between HTML elements, tags, and
attributes?
HTML elements are the individual components that make up a web page, such as
headings, paragraphs, and images.
Tags are used to mark the beginning and end of HTML elements.
Attributes provide additional information or modify the behavior of HTML elements.
Q7. What is the purpose of the src attribute in the <img> tag?
The src attribute specifies the source file or URL of the image.
Q8. What are the <thead>, <tbody>, and <tfoot> tags used for?
The <thead> tag is used to group the header content in a table.
The <tbody> tag is used to group the body content.
The <tfoot> tag is used to group the footer content.
HTML Tag Functions
<html> Defines an HTML document