HTML Checklist Flashcards

All the Essential Concepts on HTML

1
Q

Do you know why HTML is called a Markup language?

A

Hypertext means machine readable text and Markup means to structure it in a specific format.
Therefore HTML is called hypertext markup language, because it is a language that allows users to organize, improve the appearance of, and link text with data on the internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Do you know the relationship between your computer, browser and HTML?

A

HTML files are text files that instruct the browser on how to display text and images in a web page.
The computer stores HTML files.
Browsers are used to request and display the HTML files we stored on our computer. Browsers receiving the HTML code have a standard to convert the code into something visual on the browser.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Do you know what opening and closing tags are in HTML?

A

An opening tag begins a section of page content. The closing tag always comes after the content of the tag. It is how the browser knows that you want the tag to end.
Example : To markup a section of text as a paragraph, you would open the paragraph with an opening paragraph tag <p> and close it with a closing paragraph tag </p> (closing tags always proceed the element with a /).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Do you know why some HTML elements do not need closing tags?

A

Elements that do not contain any content in them (also known as, void elements) do not need closing tags. Meaning, there is no need to have a closing because there is no content that can be put between the start tag and the end tag.
Example : self-closing HTML tags: <br></br>, <hr>, <img></img>, <input></input>, <link></link>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Do you know the difference between an HTML element and HTML attribute?

A

HTML element holds the opening and closing tags, content and attributes too. HTML attributes are used to describe the characteristic of an HTML element in detail. HTML attributes are found only in the starting tag.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Do you know the contents of the basic skeleton (boilerplate) of every web page?

A

The basic HTML skeleton is the set of tags required of every HTML web page you build.

<html> is the root of the html document which is used to specify that the html has started.
<head> contains all the additional informative elements of the html document.
<title> is used to define the title of the html document. This gets displayed on the tab
<body> is used to define the main content of the html document.
</body></title></head></html>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Do you know what !DOCTYPE is in HTML?

A

It is not an HTML tag, but it is just an instruction for your browser to tell what version of HTML your document is using.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Do you know the most commonly used structural tags?

A

These are the most common structural HTML tags: <header>, <nav>, <section>, <div>, <h1>, <h2> <h3> , <h4> , <h5> , <h6>, <a>, <p>, <br></br>, <hr> , <footer></a>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Do you know the most commonly used HTML elements within the form tag?

A

The most common ones are: <input></input>, <textarea>, <button>, <label></label></button></textarea>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Do you know how to comment out your HTML code and remove the comment in VSC?

A

Commenting in HTML allows developers to leave notes about their code, its functionality or to indicate necessary changes for the future.
To comment out in HTML, insert information between <!-- and --> tags (browsers won’t show these notes). Aslo, you can comment in VSC using the Ctrl + / shortcut.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Do you know how to use the <img></img> tag?

A

The <img></img> tag is used to embed an image in an HTML page. Images are not technically inserted into a web page; images are linked to web pages. The <img></img> tag creates a holding space for the referenced image. The <img></img> tag has two required attributes: src which specifies the path to the image and alt which specifies an alternate text for the image, if the image for some reason cannot be displayed.

Note: Always specify the width and height of an image. If width and height are not specified, the page might flicker while the image loads.
Example : How to insert images from another folder or from another web site:
<img></img>
<img></img>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Do you know how to use the anchor <a> tag?</a>

A

The <a> tag defines a hyperlink, which is used to link from one page to another. The most important attribute of the <a> element is the href attribute, which indicates the link’s destination
Example : <a>Visit Evangadi.com!</a></a></a>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Do you know how to open your HTML file in a live server/default browser using VSC?

A

First, open your HTML file in VS Code and right click on it, then select “open with browser “

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Do you understand the different uses between iframe and video tag?

A

A Video element allows you to add media to your event page by pasting the HTML embed code or a YouTube or Vimeo URL link.
An iframe element, short for inline frame, is an HTML element that allows an external webpage to be embedded in an HTML document. There are no options to hide controls or loop iframes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Do you know the most common way to group a set of related items in a list in HTML?

A

We use unordered list (with bullet points by default) or <ul> and ordered list (with numbers) <ol> tags. In both cases, we use list <li> tags to list each item.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Do you understand what relative path means?

A

A relative file path points to a file relative to the current page.
Example: In the following example, the file path points to a file in the images folder located at the root of the current web: <img></img>

17
Q

Do you understand how to reference an image that is outside of the folder that contains the HTML file? (../)?

A

../ will give you one level higher parent directory. You can use as much as you want to go higher level parents like ../../
In the following example, the file path points to a file in the images folder located in the folder one level up from the current folder: <img></img>

18
Q

Do you understand the difference between <head> , <header> and Heading?

A

<head> : The head tag is used for holding Meta information, title, links, etc. and is not displayed on the page.
<header>: The header tag is used within the body of the website and can be used multiple times if required, e.g. to determine the top of an article.
Heading: Headings are used for highlighting important topics. There are six levels of headings defined by HTML. These six heading elements are <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>. with <h1> being the highest level and <h6> the least. Importance of Heading : Search Engines use headings for indexing the structure and content of the webpage.
</h6></h1></h6></h5></h4></h3></h2></h1></header></head>

19
Q

Do you understand how to nest HTML elements? Can you explain that with an example?

A

HTML elements can be nested, meaning that one element can be placed inside another element. Nesting allows you to apply multiple HTML tags to a single piece of content.

20
Q

Do you know the Most commonly used <meta></meta> Tags?

A

The <meta></meta> tag defines metadata about an HTML document. Metadata is data (information) about data. <meta></meta> tags always go inside the <head> element, and are typically used to specify character set, page description, keywords, author of the document, and viewport settings.
Example: <link></link>, <style>, <title>, <meta></meta></title></style>

21
Q

Do you understand what a URL is?

A

URL stands for Uniform Resource Locator. A URL is nothing more than the address (location) of a given unique resource on the Web or on your computer.

22
Q

Do you understand the difference between semantic and non-semantic tags? Can you explain the difference by giving examples?

A

Semantic elements are elements with meaning. A semantic element clearly describes its meaning to both the browser and the developer. Example: <section>, <footer>, <form> , <table> , and <article>
Non-semantic elements: Tells nothing about its content. Examples: <div> and <span></span>

23
Q

Do you know what is new in HTML5?

A

HTML5 offers three types of new elements: sectioning elements, inline elements and interactive elements.
Improved support for embedding rich content like graphics, audio, and video
New semantic tags including <main>, <nav>, <article>, <section>, <header>, <footer>, and <aside>
Additional form controls like <calendar>, <dates>, <time>, <email>, <url>, and <search></search></url></email></time></dates></calendar>

24
Q

Do you know the Most commonly used Formatting Tags?

A

Formatting elements were designed to display special types of text.
Example: These are the most common formatting tags in HTML:
<b> - Bold text, <strong> - Important text, <i> - Italic text, <em> - Emphasized text, <mark> - Marked text, <small> - Smaller text, <del> - Deleted text, <ins> - Inserted text, - Subscript text, - Superscript text</ins></del></small></mark></em></i></strong></b>