How The Web Works (THM).3 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What are the 2 major components that make up a website?

A

Front end
Back end

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

What is front end?

A

client-side
how a browser renders a website

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

What is back end?

A

Server-side
How servers process requests and respond

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

What are websites primarily created with?

A

HTML
CSS
Javascript

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

What is the purpose of HTML?

A

structure

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

What is the purpose of CSS?

A

styling

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

What is the purpose of Javascript (JS)?

A

Interactivity

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

What is HTML?

A

Hypertext Markup Language

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

What are websites written in?

A

HTML

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

What are the building blocks of HTML?

A

Elements/Tags

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

<!DOCTYPE html>

<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Example Heading</h1>
<p>Example paragraph..</p>
</body>
</html>

What are the elements/tags of the above code snippet?

A

<!DOCTYPE html> Definition

<html> Root
<head>Page Info
<h1>Defines Heading
<p>Defines Paragraph
</p></h1></head></html>

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

What is a class attribute?

A

Attributes that change styling

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

What is a srs attribute?

A

Specifies location

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

What is an id attribute?

A

Identifies unique attribute to the tag/element

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

Where is Javascript added?

A

Website Source Code

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

Where is Javascript loaded into?

A
<script>
tags
src attribute
</script>
17
Q

What is HTML Injection?

A

Unfiltered User Input Vulnerability

18
Q

Is HTML Injection back or front end?

A

Front

19
Q

What is a general rule for User input?

A

Never Trust