HTML Tag Definitions Quiz

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

What does HTML stand for?

  • Hyper Tool Markup Language
  • Hyper Transfer Markup Language
  • Hyper Text Makeup Language
  • Hyper Text Markup Language (correct)

Which of the following tags is not closed in HTML?

  • <div>
  • <br> (correct)
  • <p>
  • <span>

What is the attribute for changing the size of a font in HTML?

  • TEXT-SIZE
  • SIZE (correct)
  • FONT-SIZE
  • TYPE

How do you add an image in HTML?

<p><img src='image.jpg'> (C)</p> Signup and view all the answers

Which HTML element is used to display data in rows and columns?

<table> (D) Signup and view all the answers

What is the purpose of the

tag?

<p>Insert paragraphs (A)</p> Signup and view all the answers

Which tag is used to create a new paragraph?

<p> (C) Signup and view all the answers

What does the

tag represent in HTML?

<p>Largest heading (D)</p> Signup and view all the answers

Which attribute of the tag is used to change the font type?

<p>FACE (D)</p> Signup and view all the answers

What is the correct way to specify a link to another web page in HTML?

<p><a href='URL'>Link</a> (D)</p> Signup and view all the answers

Which tag is used to create a dropdown list in HTML?

<p><select> (C)</p> Signup and view all the answers

Which tag is used to specify a table row in HTML?

<tr> (C) Signup and view all the answers

Which attribute specifies the number of times a marquee scrolls?

<p>LOOP (C)</p> Signup and view all the answers

Which tag is used to define a data cell in a table?

<td> (B) Signup and view all the answers

What does the


tag do in HTML?

<p>Adds a horizontal line (D)</p> Signup and view all the answers

Which attribute specifies the background color of a web page?

<p>BGCOLOR (B)</p> Signup and view all the answers

What does the 'src' attribute in the tag specify?

<p>The path to the image file (A)</p> Signup and view all the answers

Which tag is used to define an ordered list?

<ol> (B) Signup and view all the answers

How do you specify a video file to display in HTML?

<p><video src='file.mp4'> (C)</p> Signup and view all the answers

Which of the following is a valid hyperlink syntax?

<p><a href='url'> (D)</p> Signup and view all the answers

Which tag is used to define the header of a table?

<thead> (A) Signup and view all the answers

Which attribute of the

tag changes the color of the text?

<p>COLOR (B)</p> Signup and view all the answers

Which attribute is essential for an image tag to specify its source?

<p>SRC (C)</p> Signup and view all the answers

Which tag is used to create a hyperlink to another file?

<p><a> (C)</p> Signup and view all the answers

What is the default alignment of text in a paragraph in HTML?

<p>Left (C)</p> Signup and view all the answers

How do you define a table data cell in HTML?

<td> (C) Signup and view all the answers

Which tag specifies a moving text in HTML?

<p><marquee> (B)</p> Signup and view all the answers

Which of the following is an ordered list pointer type?

<p>Roman numerals (C)</p> Signup and view all the answers

Which tag creates a new row in a table in HTML?

<tr> (D) Signup and view all the answers

Flashcards

HTML Ordered List

A numbered list in HTML, using the tag. Items are displayed with sequential numbers.

HTML Font Type

The tag's attribute changes the font face.

Hyperlink to Yahoo

A link that opens a webpage using a URL, like Yahoo's. It goes to another web page when clicked.

HTML Centered Content

The tag centers content horizontally on a web page.

Signup and view all the flashcards

HTML Table Row

The tag used to specify a row in an HTML table.

Signup and view all the flashcards

HTML Table Data

The tag used to define a table's content/data.

Signup and view all the flashcards

HTML Hyperlink Tag

The tag creates a link to another web page.

Signup and view all the flashcards

HTML Unordered List Item

The tag is used to specify an item in an unordered list (bulleted list).

Signup and view all the flashcards

HTML abbreviation

Hyper Text Markup Language

Signup and view all the flashcards

Title tag

Defines the title of a web page, displayed in browser's title bar.

Signup and view all the flashcards

Image tag

Inserts an image into a web page.

Signup and view all the flashcards

Hyperlink tag

Creates a clickable link to another web page or resource.

Signup and view all the flashcards

Bold text

Formats text in bold font.

Signup and view all the flashcards

Paragraph tag

Creates a new paragraph of text.

Signup and view all the flashcards

Background Color

Sets the background color of a web page or section of a web page

Signup and view all the flashcards

Ordered List

Creates a numbered list.

Signup and view all the flashcards

HTML tag for playing a sound file

The tag in HTML is used to embed sound files, such as audio files (.mp3, .wav), that play when a user interacts with the element (e.g., clicking a button, link).

Signup and view all the flashcards

HTML tag for a new line

The tag is used to insert a line break or start a new line in the displayed text.

Signup and view all the flashcards

HTML background color attribute

The "BGCOLOR" attribute sets the background color of a web page within the tag.

Signup and view all the flashcards

HTML italic text format

The tag is used to format text as italic.

Signup and view all the flashcards

Ordered list HTML tag

The tag defines an ordered list (a numbered list).

Signup and view all the flashcards

HTML table height attribute

The HEIGHT attribute sets the height of an HTML table.

Signup and view all the flashcards

HTML image within table tag

The tag is used to insert an image inside an HTML table cell.

Signup and view all the flashcards

HTML tag attribute for links

The tag's attributes like "BEHAVIOR" and "DIRECTION" control the link's actions and appearance.

Signup and view all the flashcards

Line break tag

The tag creates a line break in HTML.

Signup and view all the flashcards

Table header tag

The tag defines a header cell in a table.

Signup and view all the flashcards

Image source attribute

The attribute specifies the location of an image.

Signup and view all the flashcards

Default paragraph text alignment

Text in a paragraph is aligned to the left by default.

Signup and view all the flashcards

New tab link tag

The tag creates a link that opens the target in a new tab.

Signup and view all the flashcards

Ordered list pointer types

Ordered lists can use styles like Roman numerals, Arabic numbers.

Signup and view all the flashcards

HTML table data cell

The tag defines a data cell in a table.

Signup and view all the flashcards

Hyperlink to another file

The tag defines a hyperlink to another file or web page.

Signup and view all the flashcards

Study Notes

HTML Tag Definitions and Functions

  • HTML: Hyper Text Markup Language
  • <TITLE> tag: Defines the title of a web page
  • <BODY> tag: Contains the main content of a web page
  • <H1> tag: Represents the largest heading
  • <HR> tag: Creates a horizontal line
  • <A> tag: Creates a hyperlink , correct syntax <A HREF="url">
  • <STRONG> tag: Makes text bold
  • <UL> tag: Creates an unordered list
  • <LI> tag: Defines a list item in an unordered list
  • <OL> tag: Defines an ordered list
  • <P> tag: Creates a new paragraph
  • <BR> tag: Inserts a line break
  • <TABLE> tag: Organises data into rows and columns
  • <TR> tag: Specifies a row in a table
  • <TD> tag: Defines a cell in a table
  • <TH> tag: Defines a header cell in a table
  • <IMG> tag: Adds an image, required attribute is SRC
  • <FONT> tag: Used for font styling (e.g., type, size, color). The FACE attribute is used for changing the font type
  • <CENTER> tag: Centers the content within
  • <BGSOUND> tag: Plays a background sound (deprecated - use
  • <MARQUEE> tag: Creates scrolling text
  • <IMG> tag attribute: WIDTH attribute specifies the width of an image
  • <A> tag attribute: the TARGET="_blank" attribute open a link in a new tab.
  • <FONT COLOR> tag attribute: to set text color

HTML Tag Purposes and Attributes

  • <BODY BGCOLOR>: Specifies a specific background color for a webpage, <BODY BGCOLOR="color">
  • <IMG SRC>: Specifies the source file for an image. <IMG SRC="image_path">
  • <P ALIGN>: Sets the paragraph alignment (left, center, right).

Additional HTML Tag Information

  • <H1> through <H6> tags: Used for headings (decreasing size from

    to

    ).
  • <FONT SIZE> tag attribute: to set font size (e.g.,<FONT SIZE="5">)
  • <FONT FACE> attribute: Sets the font type or family (e.g., <FONT FACE="Arial">)
  • <FONT COLOR> attribute: Changes the font color (e.g., <FONT COLOR="red">)

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Question Bank Practical IT PDF

More Like This

HTML Tags Short Answer Questions
5 questions
HTML Tags and Classifications
10 questions

HTML Tags and Classifications

ProlificDoppelganger avatar
ProlificDoppelganger
HTML Tags and Attributes Quiz
20 questions

HTML Tags and Attributes Quiz

AffluentEpiphany1963 avatar
AffluentEpiphany1963
Use Quizgecko on...
Browser
Browser