HTML basics, tags and attributes

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

In HTML, what is the primary purpose of a Uniform Resource Identifier (URI)?

  • To customize styling attributes of images displayed on a webpage.
  • To create an image map within a webpage for interactive image elements.
  • To identify a resource on the internet (correct)
  • To define the structure of a webpage.

If you want to display a separate HTML document within the current webpage, which HTML element should you use?

  • `<frame>` (correct)
  • `<a>`
  • `<div>`
  • `<object>`

Which HTML attribute and tag combination is correctly used to set a picture as a webpage background?

  • `<background="image.gif">`
  • `<body background-image: url('image.gif');>`
  • `<background image="image.gif">`
  • `<body background="image.gif">` (correct)

Which HTML tag is specifically designed to insert a line break within a text block?

<p><code>&lt;br/&gt;</code> (A)</p> Signup and view all the answers

Which set of HTML tags is essential for creating a basic table structure?

<p><code>&lt;table&gt; &lt;tr&gt; &lt;td&gt;</code> (B)</p> Signup and view all the answers

Which HTML tag should be used to create a list where each item is marked with a bullet point?

<p><code>&lt;ul&gt;...&lt;/ul&gt;</code> (B)</p> Signup and view all the answers

What is the proper syntax to align an <h1> heading to the right side of its container?

<p><code>&lt;h1 align = &quot;right&quot;&gt;</code> (A)</p> Signup and view all the answers

Which HTML code snippet correctly applies a specific font face to text?

<p><code>&lt;font face = &quot;font name&quot;&gt; &lt;/font&gt;</code> (C)</p> Signup and view all the answers

What aspect of a document do HTML tags primarily describe?

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

Besides plain text, what can an HTML document directly contain?

<p>All of these (C)</p> Signup and view all the answers

Flashcards

What is a Uniform Resource Identifier (URI)?

A unique string of characters used to identify a resource on the internet.

What is the use of frames in HTML?

To display a webpage within another webpage.

How to set an image as a background?

The correct HTML code is:

HTML tag for line break


creates a line break.

Signup and view all the flashcards

Tags related to table in HTML

are the tags related to tables in HTML. Signup and view all the flashcards

Tag for bulleted lists

    is used to list items with bullets. Signup and view all the flashcards

Correct way to right-align an H1 tag

aligns text to the right. Signup and view all the flashcards

Correct way to change font face

changes the font face.

Signup and view all the flashcards

What do HTML tags describe?

HTML tags describe a document's content.

Signup and view all the flashcards

What does an HTML document contain?

HTML documents can contain attributes, tags, and plain text.

Signup and view all the flashcards

Study Notes

  • The test covers WWW and HTML topics.

HTML basics

  • URI in HTML identifies a name or resource on the internet.
  • Frames in HTML display a webpage within a webpage.
  • HTML uses to insert line breaks.
  • HTML documents can contain attributes, tags, and plain text.
  • Software that reads and renders HTML documents is a browser.

Setting Background and Font

  • To set a picture as a background webpage use:
  • <body background= “bgimage.gif">
  • To correctly change the front face in a webpage, use <font name = "font name"> </font>

Table Tags

  • The tags related to tables in HTML are:
  • <table> <tr> <td>

Lists and Alignment

  • <ul> tag lists items with bullets.
  • To align the H1 tag to the right, use <h1 align = "right">

HTML Document Structure and Tags

  • HTML tags describe document content.
  • Title tags are nested within the Head tag.
  • The first and last pair of tags in an HTML document should be <html></html> and <body></body>.
  • The tag allows words to appear in the upper left bar area of your browser.
  • An HTML document contains one root tag called HTML.
  • HTML provides 6 heading tags.

Browser attributes and Features

  • Microsoft Bing is not a browser.
  • HTML tags are surrounded by angle brackets.
  • The opening tag of HTML is called the starting tag .
  • The attribute of font tag is Face, Size and color (All of above)
  • hyperlink connects webpages.

Spacing and Lists

  • The CELLPADDING attribute adds space within each cell.
  • In lists, an ordered list is a numbered list, and an unordered list is a bulleted list.

Web development considerations

  • HTML is the language of the web.
  • A key function of building website with HTML is specifying formatting and layout instructions
  • Knowing the web audience is important before building your website.

HTML tags

  • TR elements define table rows

Studying That Suits You

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

Quiz Team

Related Documents

More Like This

HTML Page Structure Quiz
5 questions
Web Design: Image Tags in HTML
13 questions

Web Design: Image Tags in HTML

IngeniousDialogue8080 avatar
IngeniousDialogue8080
HTML Structural Tags
8 questions

HTML Structural Tags

ImmaculateSparkle2492 avatar
ImmaculateSparkle2492
Use Quizgecko on...
Browser
Browser