Website authoring Flashcards
Identify and describe the three web development layers
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
Explain the purpose of the head and body sections of a web page
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
Explain why tables are used to structure elements within a web page
They are used to create the basic structure of many web pages. They are used to organize page layout
Describe the function of a hyperlink
It is a method of accessing another document or resource from the current application
Describe the concept of a bookmark and methods of creating a bookmark within a web page
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
Describe the function of an anchor
It is a point of reference within a web page
Define and understand the terms relative file path and absolute file path
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
Explain why absolute file paths must not be used for hyperlinks to locally saved web pages/objects
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
Explain what is meant by the term cascading stylesheets
A stylesheet developed to allow the designer to define the way a web page is formatted. They can be arranged in a series.
Explain the difference between attached stylesheets and inline style attributes
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
Explain the hierarchy of multiple attached stylesheets and inline styles within a web page
For an attached stylesheet to have precedence over another attached stylesheet, it should be attached after said stylesheet
Explain the difference between a style and a class
Classes are subtypes within an element in a stylesheet. These are used to add or change styles without completely defining new styles
Explain why relative file paths must be used for attached stylesheets
They allow you to move or copy the entire website to another location without CSS malfunctions
Explain how to upload and publish the content of a website using ftp
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