HTML Foundations Flashcards

1
Q

What is HTML and what does it stand for?

A

HTML stands for Hypertext Markup Language and is the raw data that a web page is built of. Text, links, cards, lists, buttons, images, and videos are all made from HTML.

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

What is CSS and what does it stand for?

A

CSS stands for Cascading Style Sheets and adds style to HTML elements like color, font, size, position, format, layout, and overall presentation of your website.

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

What is JavaScript?

A

JavaScript is a programming language, compared to HTML and CSS which are not since they do not use logic, that makes a web page do things and creates interactivity.

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

What are HTML Tags?

A

HTML Tags consist of an opening and closing tag and in between those tags hold information or content.

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

What are self-closing HTML Tags?

A

Self-closing HTML Tags are HTML Tags that only need an opening or closing tag to work. They do not wrap any content, so they only need one tag.

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

What are HTML Elements?

A

HTML Tags AND Content. HTML Tags are the individual tags themselves, while HTML Elements are the HTML Tags AND the content that is wrapped in-between those tags.

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

Why is it important to use the correct and appropriate HTML Tags?

A

Using the correct HTML tags is important because tags can have a big impact on two aspects of your sites:

1) How they are ranked in search engines and

2) How accessible they are to users who rely on assistive technologies. Basically, how your site can be accessible for everybody!

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

What is an HTML Boilerplate

A

The HTML Boilerplate is a template you will add at the start of your project that contains base information that is needed to encode your web page. All HTML pages have a boilerplate.

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

What is the importance of having the file index.html?

A

index.html is the file that will contain the homepage of our websites and should always contain the homepage. By default, web servers will always look for an index.html page when users use the website. Without index.html, big problems may occur.

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

(HTML Boilerplate) What is the HTML element and what should it contain?

A

The HTML element is the root element of the document. It holds every other element in the document

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

What is a DOCTYPE declaration in an HTML page?

A

Every HTML page starts with a DOCTYPE declaration that tells the browser what version of HTML it should use to render the document. The declaration is

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

(HTML Boilerplate) What is the Head element and what does it hold?

A

The Head element is where we put important meta-information about our web pages that is required for them to render correctly in the browser. Does not contain any content that displays on the web page.

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

(HTML Boilerplate) What is the Charset Meta Element:

A

The Meta tag is required for the charset encoding of the web page in the Head element. This encoding is very important so the web page will display special symbols and characters from different languages in the browser.

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

(HTML Boilerplate) What is the Title element and what does it hold?

A

The Title element is nested inside the Head element and contains the name of the web page in the browser.

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

(HTML Boilerplate) What is the Body Element and what does it hold?

A

The Body element is nested in the HTML element after the Head element and contains the displayed content of the web page.

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

Explain the concept of Nesting and Indentation in HTML.

A

Nesting is putting HTML elements inside other elements where the holder is the “parent” and the hold-ee is the “child.” Indentation is used in code to help show this relationship by indenting children further to the right in the code when inside of a parent element.

17
Q

(Links and Images) What is an Absolute Link?

A

A link to pages on other websites on the internet. Typical syntax of it is made up of the following parts: protocol://domain/path
Always contains the protocol and domain.

Example: https://www.theodinproject.com/about

18
Q

(Links and Images) What is a Relative Link?

A

A link to pages located on our websites. Does not include the domain name like absolute links since it is another page on the same site and because it’s assumed the domain name is the same.

Only includes the file path to another page relative to the page you are creating the link on. You are navigating and referring to another file.