Structure Flashcards

1
Q

What is a web browser?

A

A web browser is a piece of software used to browse the internet

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

Give examples of web browsers (min 3)

A

Google chrome/ Firefox/ internet explorer

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

What is a web server?

A

A web server is a computer that is constantly connected to the internet and are optimised to send webpages out to other computers that request them. Specifically created to store webpages/websites

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

What are the 3 mandatory tags that create a basic HTML file?

A

HTML/Head/Body

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

What is the HTML element and what is its purpose?

A

The html element is the element that wraps around everything else included in the html file.

It indicates anything between the opening and closing tag is html code

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

What is the head element and what is it’s purpose?

A

The head element contains information about the page.

Links, title and meta tags are all enclosed within the head element

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

What is the body element and what is it’s purpose?

A

The body tag contains anything that should be displayed in the browser window.

The body element contains the visual aspects of the webpage/website

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

What is an opening and closing tag?

A

An opening tag is the start of the specified element.

A closing tag is the end of the specified element

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

What tags make up an element? Give an example

A

An element is made up of an opening and closing tag.

Example (h1) (/h1)

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

What is an attribute?

A

An attribute provides additional information about the contents of an element.

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

Provide an example of an attribute and describe its use

A

(lang = “en-us”) sets the language of the element to US english

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

What is the title element, what is it’s purpose and where is it held within a html file?

A

The title element is an element that contains the title for the webpage.

What ever is written inside the title element becomes the title for the webpage and is displayed on the browser tab.

Held within the head element

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

How can you create a html file?

A

1) text editor - atom, sublime, notepad, notepad++
2) click file/new file/ save as
3) industry standard-first page is called index.html
4) click save in document explorer

Side note, all html files need to end with .html

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