HTML_Quiz.md - brainchildservices/curriculum GitHub Wiki
-
What are the parts of the HTML page ?
Basically, there are two parts of the web pages : Content and Tags
-
What do you mean by Tags ?
In HTML, page content is placed between the Tags, which are basically responsible for the formatting of the page. Tags are written between less than symbol (<) and greater than (>) symbol.
Example: <h1>text</h1>
In the above example <h1> is the opening tag and </h1> is the closing tag. -
Do all HTML tags are written in a pair ?
No, there are some HTML tags are present which can be used as single.
Example: <img> , <br> -
What are the list types available in HTML ?
- Ordered list
- Unordered list
-
How to apply Hyperlink in an HTML page ?
We can use <ahref> tag for HTML page.
Example: <a href="www.brainchildschool.com">Brainchildschool</a> -
How to change the font colour on the HTML page ?
we can give this command for changing the font color
<fontcolor="blue"> Hello World</font>
<p style="color:red">Hello World</p> -
How to write the paragraph on the HTML page ?
For the paragraph tag <p> text you want to show the paragraph </p> will be used.
-
How will you make the image as the background of the web pages ?
The command which for making the image as a background is: <body background = “image.gif”> where image.gif will be the path of the image.
-
What is a line break in HTML ?
A line break is the point at which two lines of text are divided. In HTML, the <br> element creates a line break.
-
In html how to give space ?