0% found this document useful (0 votes)
22 views2 pages

HTML Questions English

Uploaded by

gopa.ghosh22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views2 pages

HTML Questions English

Uploaded by

gopa.ghosh22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

​ Some Important Questions on HTML:


​ 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

<head> Contains metadata/information for the document

<title> Defines a title for the document

<body> Defines the document's body

<h1> to <h6> Defines HTML headings

<p> Defines a paragraph

<br> Inserts a single line break

<b> Defines bold text

<u> Defines underline text

<strong> Defines important text

<sub> Defines subscripted text

<sup> Defines superscripted text

<img> Defines an image

<a> Defines a hyperlink

<li> Defines a list item

<ul> Defines an unordered list

<ol> Defines an ordered list

<table> Defines a table

<th> Defines a header cell in a table

<tr> Defines a row in a table

<td> Defines a cell in a table

<style> Defines style information for a document

<div> Defines a section in a document

<span> Defines a section in a document

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy