Website Flashcards
What is the purpose of
<!DOCTYPE html>
in html?
It tells the browser that you are using html so it will read your code accordingly.
What is the purpose of
<html> </html>
in html?
It starts and ends your web page. The <html> tag shows where your code starts and the </html> tag shows where your code ends.
Which are the two sections you have in the <html> code?
There are two sections, the <head> </head> section and the <body> </body> section.
What is the <head> </head> section used for?
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.
What is the <body> </body> section used for?
This section will consist of all the content you would like to place in your web page.
What is a website?
A collection of related web pages saved under a single domain name, created by a single person or organisation.
What is a webpage?
A single page from a website, i.e. a single document.
What does URL stand for?
Uniform Resource Locator
What is a URL?
The URL (Uniform Resource Locator) is the address of a web page.
What is a hyperlink?
Text that when clicked will open another web page or website.
What is an internal hyperlink?
An internal hyperlink links one web page to another web page in the same website.
What is an external hyperlink?
An external hyperlink links your web page to a web page on another (different) website.
What is an image link?
An image that when clicked will open another web page or website.
What is the <title> </title> tag used for?
It displays the name you choose, usually the website name, in the tab.
What is the <style> </style> tag used for?
This is used for internal styling.
What does the following line do?
<link></link>
It links your stylesheet to your current web page so your web page gets styled using the styling you have set in your stylesheet.
How many heading styles are there?
Six.
h1 up to h6
What does <h1></h1> do?
It sets the text in between the opening and closing tag to be styled as a main heading.
What is the <p></p> tag used for?
It is used to create paragraphs in your web page.
What does the <ul> </ul> tag do?
It creates an unordered list, i.e. a bulleted list.
What does the <ol></ol> tag do?
It creates an ordered list, i.e. a numbered list.
What is the <li></li> tag used for?
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.
What does this tag do?
<img></img>
It shows an image of a dancing meerkat on your web page.
What is the alt text in an image text used for?
e.g. <img></img>
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.
What is the anchor tag used for?
It is used to link from one page to another via a hyperlink.
What does the following code do?
<a>Home</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.
What are the features of a website?
What information is being stored and displayed on a website, something that the website has.
What are the functions of a website?
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).