Prework Module 3 Flashcards
What is a Web application?
An application accessed via a web browser that allows users to perform tasks on the Internet
What is a URL?
A uniform resource locator. It is a unique address given to a specific resource on the web.
Computers don’t speak human languages, so we need to speak computer – we need the following three programming languages. What are they?
HTML CSS, JavaScript
What creates the structure of a webpage?
HTML, CSS in JavaScript 
What do we mean by element?
It is a type of content on the web page – it can be text image header, or list elements
Elements can also be used to divide or describe a page. What are three, common ones.
Meta related elements.
Content division elements.
Semantic elements.
What is SEO?
Search engine optimisation – the process of improving, the ranking of a website and search engine such as Google
What are some examples of browsers?
Google chrome, safari, Firefox, brave, Microsoft edge
What does the <head> element of HTML contain?
The metadata/information that helps the browser render the page (not visible to the user).
What does the <body> element of HTML contain?
The content that is shown to the user.
Are declarations such as <!DOCTYPE html> case sensitive or not case sensitive?
Not case sensitive!
What does the code, lang=”en” mean?
Language is in English
What does the code, lang=”en” mean?
Language is in English
Are HTML attributes defined in the beginning element or the closing element?
Always in the beginning element.
What are some metadata tags that can be used inside a HTML <head> tag?
<title>, <style>
, <base>, <link>, <meta>, <script></style></title>
What does </head> at the end of a <head> html code symbolise? (hint: what is the / doing?)
</head> is a closing tag, meaning that section of code is finished.
What is the role of the <meta></meta> element in HTML?
<meta></meta>
elements contain information about the page that is used by the browser.
What do you call elements that are nested inside other elements?
Child elements?
What do you call the element that holds all the child elements?
The parent element
What type of HTML element should content be under if we want it to be visible to the user?
The <body> element
What is the difference between an element and a tag>
An element is the entire element (from opening to closing tag) and a tag is what appears inside the <angle>.</angle>
What does the child element <ul> represent? (hint: it is a <body> html element)?
Unordered lists
What does the child element <p> represent? (hint: it is a <body> html element)?
Paragraph
What does the child element <ol> represent? (hint: it is a <body> html element)?
Ordered lists
What does the child element <li> represent? (hint: it is a <body> html element)?
List items
What does the child element <img></img> represent? (hint: it is a <body> html element)?
Image
What does the child element <br></br> represent? (hint: it is a <body> html element)?
break, line break or a line of empty space
What does the child element <a> represent? (hint: it is a <body> html element)?</a>
Anchor, which creates links to the same webpage or other webpages
What does the child element <href> represent? (hint: it is a <body> html element)?</href>
It is used to create a hyperlink
What does the child element <src> represent? (hint: it is used with the <img></img> html element)?</src>
Source - which defines the location of the image file (most important child element for an image!)
Why do we label section elements in VS Code as id=?
HTML uses the id attribute to identify elements and select them
What does git status do?
Checks what branch we are currently on
What does git checkout -b branch-name do?
Creates a new branch and switches to it
How do you save work to GitHub?
You need to add, commit and push up the HTML code in a feature branch.