Head Section and Elements of Head Section

The <HEAD> tag:

Is contained within the <HTML> and </HTML> tags.

Is used to describe the header of the HTML document.

Can include the following tags: 


Elements of Head Section
The <TITLE> tag: Defines the title of the document.it Can occur only once.
For example:
<HEAD>
<TITLE> Book Your Hotel</TITLE>
</HEAD>
The <META> tag: Provides additional information about the current document in the form of name and value pairs.
For example:
<META name="description" content="This website provides you the benefit of booking rooms in the best hotels of US">
<META name="keywords" content="hotel, online, booking ">
<META name="author" content="Harry Anem">
<META http-equiv="refresh" content="30">
The <BASE> tag: Specifies a base URL or address for all the related links on a page.
For example:
<BASE href="d:/Images/">

The <STYLE> tag: Defines the style information associated with the HTML document.

The <SCRIPT> tag: Specifies the client-side script, such as JavaScript, associated with the document.

The <NOSCRIPT> tag: Displays an alternate content on the browsers on which the scripts have been disabled.



Qus. 1 : What is not true about the <label> tag* HTML ?

  1. Defines a label for many form elements
  2. Useful for screen-reader users
  3. Useful for visually challenged users
  4. All the above
Qus. 2 : Which is not a vibrant color?

  1. Red
  2. Orange
  3. White
  4. Purple
Qus. 3 : To cluster a group of elements together to apply formatting

  1. tag
  2. class
  3. id
  4. div
Qus. 4 : The most important<head> element of a webpage is a container for

  1. Links
  2. Webpages
  3. Metadata
  4. Pictures

Programs

Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad