Structure Flashcards
What is a web browser?
A web browser is a piece of software used to browse the internet
Give examples of web browsers (min 3)
Google chrome/ Firefox/ internet explorer
What is a web server?
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
What are the 3 mandatory tags that create a basic HTML file?
HTML/Head/Body
What is the HTML element and what is its purpose?
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
What is the head element and what is it’s purpose?
The head element contains information about the page.
Links, title and meta tags are all enclosed within the head element
What is the body element and what is it’s purpose?
The body tag contains anything that should be displayed in the browser window.
The body element contains the visual aspects of the webpage/website
What is an opening and closing tag?
An opening tag is the start of the specified element.
A closing tag is the end of the specified element
What tags make up an element? Give an example
An element is made up of an opening and closing tag.
Example (h1) (/h1)
What is an attribute?
An attribute provides additional information about the contents of an element.
Provide an example of an attribute and describe its use
(lang = “en-us”) sets the language of the element to US english
What is the title element, what is it’s purpose and where is it held within a html file?
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 can you create a html file?
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