Podcast
Questions and Answers
What does HTML stand for?
What does HTML stand for?
- Home Tool Management Language
- Hyper Text Markup Language (correct)
- Holistic Technical Method Library
- Hyper Tax Makes Line
Which HTML tag is used to create subscript text, like in Hâ‚‚O?
Which HTML tag is used to create subscript text, like in Hâ‚‚O?
- <ul>
- <br>
- <sub> (correct)
- <sup>
What is the purpose of the <a>
tag in HTML?
What is the purpose of the <a>
tag in HTML?
- Adding hyperlinks (correct)
- Aligning text
- Creating audio elements
- Adding images
Which HTML tag is the correct way to italicize text?
Which HTML tag is the correct way to italicize text?
Which action does the <br>
tag perform on a webpage?
Which action does the <br>
tag perform on a webpage?
Which type of program is usually used to create a HTML file?
Which type of program is usually used to create a HTML file?
Which of the following is the correct HTML to create a hyperlink to 'https://www.example.com' with the link text 'Example'?
Which of the following is the correct HTML to create a hyperlink to 'https://www.example.com' with the link text 'Example'?
To display x² in HTML, indicating 'x' raised to the power of 2, which tag should be used?
To display x² in HTML, indicating 'x' raised to the power of 2, which tag should be used?
Which heading tag will produce the largest heading?
Which heading tag will produce the largest heading?
Which HTML tag is used to make text appear bold?
Which HTML tag is used to make text appear bold?
Which HTML tag is used to set the background color of a webpage?
Which HTML tag is used to set the background color of a webpage?
What tag is used to insert an image into a webpage?
What tag is used to insert an image into a webpage?
What does the <hr>
tag do to a webpage?
What does the <hr>
tag do to a webpage?
Which of the following HTML snippets is correct for inserting an image?
Which of the following HTML snippets is correct for inserting an image?
Which image format generally gives the best results for photos on the web?
Which image format generally gives the best results for photos on the web?
What occurs if a background image is smaller than the viewport?
What occurs if a background image is smaller than the viewport?
What is the standard casing for HTML tags?
What is the standard casing for HTML tags?
What effect does the <i>
tag have on text?
What effect does the <i>
tag have on text?
Why should alternative text be added to images using the 'alt' attribute?
Why should alternative text be added to images using the 'alt' attribute?
Which HTML5 element is semantically correct for highlighting text?
Which HTML5 element is semantically correct for highlighting text?
In HTML, how can the dimensions of an image be adjusted?
In HTML, how can the dimensions of an image be adjusted?
In HTML, where should the <title>
tag be placed?
In HTML, where should the <title>
tag be placed?
Which code shows the correct way to insert a background image in HTML?
Which code shows the correct way to insert a background image in HTML?
Which of the following HTML snippets is the correct way to add a background color to a webpage?
Which of the following HTML snippets is the correct way to add a background color to a webpage?
How is text displayed when enclosed within the <strong>
tag?
How is text displayed when enclosed within the <strong>
tag?
Which one of the following demonstrates the correct HTML syntax for a level 1 heading?
Which one of the following demonstrates the correct HTML syntax for a level 1 heading?
Which of these options is the correct HTML markup for specifying the document type?
Which of these options is the correct HTML markup for specifying the document type?
Which attribute of the <html>
tag specifies the language of the webpage?
Which attribute of the <html>
tag specifies the language of the webpage?
How would you insert a comment in HTML?
How would you insert a comment in HTML?
Flashcards
What is HTML?
What is HTML?
Stands for Hyper Text Markup Language, the standard markup language for creating web pages.
What is the <a>
tag for?
What is the <a>
tag for?
The <a>
tag is used to create hyperlinks, which are links to other web pages or resources.
What does the <body>
tag contain?
What does the <body>
tag contain?
The <body>
tag contains the visible content of an HTML document.
What does the <i>
tag do?
What does the <i>
tag do?
Signup and view all the flashcards
What does the <br>
tag do?
What does the <br>
tag do?
Signup and view all the flashcards
What program writes HTML?
What program writes HTML?
Signup and view all the flashcards
What is the correct HTML for hyperlink?
What is the correct HTML for hyperlink?
Signup and view all the flashcards
What tag raises a number to a power?
What tag raises a number to a power?
Signup and view all the flashcards
Which tag is the largest heading?
Which tag is the largest heading?
Signup and view all the flashcards
What does the <b>
tag do?
What does the <b>
tag do?
Signup and view all the flashcards
Which tag sets background color?
Which tag sets background color?
Signup and view all the flashcards
Which tag inserts images?
Which tag inserts images?
Signup and view all the flashcards
What does '
' tag do?
What does '
' tag do?
Signup and view all the flashcards
Correct HTML to insert image?
Correct HTML to insert image?
Signup and view all the flashcards
Photo file format?
Photo file format?
Signup and view all the flashcards
Small background image behavior?
Small background image behavior?
Signup and view all the flashcards
Are html tags case sensitive?
Are html tags case sensitive?
Signup and view all the flashcards
What is the <i>
tag for?
What is the <i>
tag for?
Signup and view all the flashcards
Why add alt text to images?
Why add alt text to images?
Signup and view all the flashcards
Highlight text in HTML5?
Highlight text in HTML5?
Signup and view all the flashcards
Change image size
Change image size
Signup and view all the flashcards
Where is <title>
tag placed?
Where is <title>
tag placed?
Signup and view all the flashcards
Correct HTML to put into the background?
Correct HTML to put into the background?
Signup and view all the flashcards
How to display text in Bold?
How to display text in Bold?
Signup and view all the flashcards
Correct HTML syntax?
Correct HTML syntax?
Signup and view all the flashcards
Correct HTML declaration?
Correct HTML declaration?
Signup and view all the flashcards
What declares web language?
What declares web language?
Signup and view all the flashcards
HTML comment syntax?
HTML comment syntax?
Signup and view all the flashcards
What is an empty tag?
What is an empty tag?
Signup and view all the flashcards
How to format HTML text?
How to format HTML text?
Signup and view all the flashcards
Study Notes
HTML Basics
- HTML stands for Hyper Text Markup Language.
- The
<a>
and</a>
tags are used for adding links to a page. - The correct HTML for creating a hyperlink is
<a href="https://www.gkseries.com">Gkseries.com</a>
- The correct HTML markup for the document type declaration is
<!DOCTYPE html>
. - The attribute of the
<html>
tag that declares the language of the Web page islang
. - The correct syntax to write an HTML comment is
<!-- Comment -->
. - An empty tag in HTML does not require a closing tag.
- The
<html>
tag is called the root element of an HTML document. - HTML uses tags defined within the language.
- A text editor and web browser are necessary to create an HTML page.
- The
alt
property allows an image link to show a text label. - HTML files are saved by default with the
.html
extension. - The
style
HTML attribute is used to define inline styles.
HTML Tags and Elements
- The
<sub>
HTML tag is used for raising a number to a power like x². - The
<h1>
tag is the correct HTML tag for the largest heading. - The
<b>
tag is the HTML tag to make text bold. - The
<body>
tag can set the background color for a page. - The
<img>
tag inserts images into your web page - The
<HR>
tag is used for a horizontal ruler. - The correct HTML code for inserting an image is
<img src="image.gif">
<i>
tag makes text italic.- The
<u>
element is used to get highlighted text in HTML5. - The correct way to add a background color to an HTML document is
<body style='background-color:pink;'>
Backgrounds and Formatting
- If the background image is smaller than the screen, it will be repeated.
- The HTML tags are not case sensitive.
- Height and width are used To change the size of an image in HTML.
- The preformatted text is displayed using
<pre>
. - The
<del>
HTML element is used to show deleted text.
Styles and Properties
- The HTML style attribute can add styles to an HTML element and uniquely identify specific styles for some element.
- The tags are used for headings in HTML.
- The
font-family
property changes the font of text. - The correct syntax of doctype in HTML5 is
<!doctype html>
.
Webpage Structure
- Web browsers are used to read and render HTML pages.
- A URL is a web address.
- The correct sequence of HTML tags for starting a webpage is
<html>, <head>, <title>, <body>
Quotations and Special Elements
<abbr>
is the HTML element used for abbreviation or acronym.- The address element contains contact details for the author.
HTML Forms
<textarea>
tag creates a multi-line text input area in an HTML Form.<select>
tag creates a dropdown in an HTML Form.<input type="checkbox">
creates a checkbox in an HTML Form.- The target attribute cannot have a color.
_top
opens a linked document in the full body.
Target Attribute
_parent
opens linked document in a parent frame._blank
opens linked document in a new window or tab.
Nesting
- The correct nesting of HTML elements is
"p" inside "body" inside "html"
.
Exact Quotation
blockquote
tag indicates that a large passage of text is an exact quotation.
Input Element Type
- The purpose of the HTML
<input>
element with thetype
attribute set to"text"
is to create a text input field. - Radio is the input type that allows users to select a single option from a list of choices in an HTML form.
Text in Forms
- To allow users to input multiple lines of text, the HTML
<textarea>
element is used in a form. action
attribute in a<form>
element specifies the URL where the form data should be sent.
Submit Button
- HTML
<input>
element with thetype
attribute set to "submit" is used to create a submit button. - The
method
attribute of the<form>
element defines the HTTP method for form submission.
Input Type Radio
- The HTML
<input>
element with thetype
attribute set to "radio" in an HTML form creates a radio button.
Attributes for forms
- The
name
attribute within form input elements specifies the input element name in an HTML form. - The
autocomplete
attribute in an input element controls whether the browser should suggest and remember form input values in an HTML form. - The HTML
<input>
element with thetype
attribute set to "checkbox" in an HTML form allows users to select multiple options. - The
- HTML element with the
type
attribute set to "checkbox" in an HTML form is used to allow users to select multiple options.
Value and Default
- The
value
attribute in an input element specifies the input's default value in an HTML form. - With method="get", The length of a URL is limited to 2048 characters.
Selection
- The
multiple
attribute within a select input element allows users to select multiple options. - To create a number field we can add
<input>
element with thetype
attribute set to "number" - The HTML
<input>
element with thetype
attribute set to "number" in an HTML form will create a number input field. - The
form
attribute within an input element can be used to associate the input element with a specific form. - The
novalidate
attribute in an HTML form element is used to disable client-side form validation.
Forms and Structure
<fieldset>
element in HTML forms group related data.- The
legend
tag is used to define the caption of<fieldset>
data. - The HTML
<bdo>
tag is used to override the current text direction. - The HTML
<cite>
tag defines the title of a creative work. - The correct syntax for opening the form's result in a new browser tab is
<form action='/action_page.php' target='_blank'>
<quote>
is not a quotation element at all .- Value specifies the number of visible values in the select element.
- User will see a drop-down list of the pre-defined options when using
<option>
.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Learn about HTML (Hyper Text Markup Language) and its fundamental components. Cover the basics of HTML, including tags, attributes, document structure, and syntax. Understand how to create hyperlinks and properly format HTML comments.