Website Flashcards

1
Q

What is the purpose of
<!DOCTYPE html>
in html?

A

It tells the browser that you are using html so it will read your code accordingly.

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

What is the purpose of

<html> </html>

in html?

A

It starts and ends your web page. The <html> tag shows where your code starts and the </html> tag shows where your code ends.

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

Which are the two sections you have in the <html> code?

A

There are two sections, the <head> </head> section and the <body> </body> section.

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

What is the <head> </head> section used for?

A

This section will consist of the settings of the web page, such as meta tags, tab title, link to the external stylesheet, internal styling, etc.

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

What is the <body> </body> section used for?

A

This section will consist of all the content you would like to place in your web page.

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

What is a website?

A

A collection of related web pages saved under a single domain name, created by a single person or organisation.

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

What is a webpage?

A

A single page from a website, i.e. a single document.

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

What does URL stand for?

A

Uniform Resource Locator

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

What is a URL?

A

The URL (Uniform Resource Locator) is the address of a web page.

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

What is a hyperlink?

A

Text that when clicked will open another web page or website.

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

What is an internal hyperlink?

A

An internal hyperlink links one web page to another web page in the same website.

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

What is an external hyperlink?

A

An external hyperlink links your web page to a web page on another (different) website.

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

What is an image link?

A

An image that when clicked will open another web page or website.

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

What is the <title> </title> tag used for?

A

It displays the name you choose, usually the website name, in the tab.

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

What is the <style> </style> tag used for?

A

This is used for internal styling.

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

What does the following line do?

<link></link>

A

It links your stylesheet to your current web page so your web page gets styled using the styling you have set in your stylesheet.

17
Q

How many heading styles are there?

A

Six.
h1 up to h6

18
Q

What does <h1></h1> do?

A

It sets the text in between the opening and closing tag to be styled as a main heading.

19
Q

What is the <p></p> tag used for?

A

It is used to create paragraphs in your web page.

20
Q

What does the <ul> </ul> tag do?

A

It creates an unordered list, i.e. a bulleted list.

21
Q

What does the <ol></ol> tag do?

A

It creates an ordered list, i.e. a numbered list.

22
Q

What is the <li></li> tag used for?

A

It is used to add a list element in an ordered or unordered list. This is what is used for each item in the list.

23
Q

What does this tag do?

<img></img>

A

It shows an image of a dancing meerkat on your web page.

24
Q

What is the alt text in an image text used for?

e.g. <img></img>

A

It has two uses:
- allows a screen reader to read the text to describe what image can be seen on a web page.
- displays the description of the image if the image fails to load.

25
Q

What is the anchor tag used for?

A

It is used to link from one page to another via a hyperlink.

26
Q

What does the following code do?

<a>Home</a>

A

It creates a hyperlink so that when the word Home is clicked on it will take the user to the home page, which is index.html.

27
Q

What are the features of a website?

A

What information is being stored and displayed on a website, something that the website has.

28
Q

What are the functions of a website?

A

This what the website can do, mainly in the case of a website it is navigating around the different parts of the information system (website).