HTML and CSS Basics Flashcards

1
Q

Every language has a special syntax. What is syntax?

A

Rules for communicating.

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

What is HTML to a website?

A

It is a language that gives a website its structure. The skeleton…

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

In general, what is the job of the web browser?

A

To convert the code in the file into a recognizable website, and does so by following the HTML syntax.

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

<strong></strong> ???

A

Makes text bold.

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

What does HTML stand for?

A

Hyper Text Markup Language

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

Hypertext means?

A

“text with links in them”

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

What does CSS stand for?

A

Cascading Style Sheets

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

What is CSS used for?

A

Making websites pretty. Its the skin and makeup that covers the bones and skeletons (HTML)

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

What does tell the browser?

A

What language you are writing in…in this case it is HTML

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

Things inside “” are called…

and there are #? of them, called _____ and _____..

A

Tags

They come in pairs, with an opening and closing making up the whole set.

Think of them as parenthesis…

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

How many parts are there to an HTML file?

They are…?

A

2

The “head” and “body”

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

What goes into the files “head”? What about the “body”?

A

The head contains information about the file, such as the title.

The body contains the contents of the website, such as text, images, and videos.

The body is the part that will be actually visible on the page.

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

How many types of headings are there in html?

A

6

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

What is “href = “?

A

Attribute

The value tell the link where to go

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

What is the tag for creating hyperlinked text? What elements, attributes, and values does it contain?

A

<a> Text </a><a></a>

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

What is the image tag and why is it different from others?

A

This tag is a bit different from the others. Instead of putting the content between the tags, you tell the tag where to get the picture using src. It’s also different because there is no ending tag. It has / in the tag to close it: <img></img>.

17
Q

What is nesting?

A

When you put one HTML element inside of another.

18
Q

What are the “instructions” given to elements called?

A

Attributes

19
Q

What does <div> stand for? What is it used for?</div>

A

It stands for division and it is used to divide the sections in a structure into containers.

20
Q

What is the general format for the CSS syntax?

A

selector {
property: value;
}

21
Q

What is a Selector?

A

Can be any HTML element

22
Q

What is a Property?

A

Any aspect of a selector

23
Q

What is a Value?

A

Any possible setting for a Property.

24
Q

How do you comment out an HTML element? CSS?

A

HTML:

CSS: /Comment/

25
Q

What are the three attributes required to LINK css to html?

A

rel = stylesheet

type = text/css

href = stylesheet.css