Website authoring Flashcards

1
Q

Identify and describe the three web development layers

A

A web page contains three layers:

Content layer: to enter the content and create the structure of a web page

Presentation layer: to display and format elements within a web page

Behaviour layer: to enter scripting language to elements within a web page

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

Explain the purpose of the head and body sections of a web page

A

The head section is used to contain information that describes the web page, such as the title of the page that will display in the menu bar of the browser window.

The body section is used to contain all the data that will be displayed on the web page

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

Explain why tables are used to structure elements within a web page

A

They are used to create the basic structure of many web pages. They are used to organize page layout

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

Describe the function of a hyperlink

A

It is a method of accessing another document or resource from the current application

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

Describe the concept of a bookmark and methods of creating a bookmark within a web page

A

A bookmark is a saved shortcut that directs your browser to a specific webpage. It stores the title, URL, and favicon of the corresponding page. Saving bookmarks allows you to easily access your favorite locations on the Web

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

Describe the function of an anchor

A

It is a point of reference within a web page

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

Define and understand the terms relative file path and absolute file path

A

Relative file path contains only the path related to a certain folder. Absolute file path contains a full name of the file your are intending to open

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

Explain why absolute file paths must not be used for hyperlinks to locally saved web pages/objects

A

It is difficult to change your domain name, you must go through all HTML pages and change the name. Your site structure is less neat. Does not allow you to construct your site offline and fully test it before uploading

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

Explain what is meant by the term cascading stylesheets

A

A stylesheet developed to allow the designer to define the way a web page is formatted. They can be arranged in a series.

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

Explain the difference between attached stylesheets and inline style attributes

A

Inline CSS requires you to add tag in the section of your HTML document.

With attached styles, you’ll link your web pages to an external .css file

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

Explain the hierarchy of multiple attached stylesheets and inline styles within a web page

A

For an attached stylesheet to have precedence over another attached stylesheet, it should be attached after said stylesheet

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

Explain the difference between a style and a class

A

Classes are subtypes within an element in a stylesheet. These are used to add or change styles without completely defining new styles

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

Explain why relative file paths must be used for attached stylesheets

A

They allow you to move or copy the entire website to another location without CSS malfunctions

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

Explain how to upload and publish the content of a website using ftp

A

To publish the website, you must register the domain name you wish to use with the help of FTP. All the files, an FTP client and login details to a web hosting service need to be uploaded

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