用語集「パート1」 Flashcards
What are the most essential website elements for a portfolio website?
Image galleries About page Contact page Header (top level navigation) Footer
What does HTML stand for?
It’s an initialism for hypertext markup language
What is the Internet?
It’s a global system of hardware upon which the Web is built; is the hardware network that allows us to transmit data
What’s the Web?
a collection of linked hypertext documents
Why is HTML used?
HTML is used to break up websites into sections, pages, etc.
Why is the term “document” used when referring to HTML?
HTML was originally designed to share research documents (the term document persists today)
What is one of the easiest shortcuts to access an element?
One of the ways to access an element more quickly is via pressing ctrl+
What does the “head” element contain?
The “The “head” element contains meta information about the document
Please define an “attribute”.
Attributes are extra information within an element that add data about how the page is built (via the element)
What can you type to highlight text?
To highlight text, please type the following:
CTRL + Shift + Arrow Key (Windows)
Can you type the boilerplate code for HTML?
Example:
Index.html
Nick Petit | Designer <h1> Nick Pettit </h1>
What are two functions of the “title” element?
The title element will allow us to change the title of our page and search results in browser tabs.
Which element do links stem from?
Links stem from the anchor <a> element </a>
What is the attribute for the anchor element? Can you describe what the initialism stands for?
Href (i.e., hyperlink reference) is the attribute
Please fill in the blank: Navigation through a website is indicated through the ___ element.
Please fill in the blank: Unordered lists are shown through the _____ element
<ul></ul>
What does the <img></img> self-closing element stand for?
image
Please define the following: relative path
describes the location of a file using a partial file path that’s based on the location of the original file relative to the file that’s being referenced
Please define the following: absolute path
An absolute path describes the location of a file using the full file path
What are the two required attributes for <img></img>?
the source {src} attribute points to the image file and the alternate {alt} attribute describes the image using text
How do we indent a line of code?
ctrl + ]
Please fill in the blanks:
The footer of a website typically contains basic information about the site, such as a____ l_____ and a c_____; s_______ l______ & i____ are also included
associated links
copyright
social links
icons
What is a general rule of thumb regarding the use of relative links (e.g., “img/numbers-02.jpg”)?
use relative links (e.g., “img/numbers-02.jpg”) in your code whenever possible
Can you describe the primary function of a link element?
- The link element connects other files to an HTML document, such as CSS or JavaScript files
What does CSS mean?
Cascading Style Sheets
Can you define a rule, in addition to giving an example?
A footer is an example of a rule (i.e., the entirety of a CSS selector)
Please describe a selector in CSS.
CSS syntax that defines elements on a page to which declarations should be applied
What is a declaration {CSS}?
a pair of CSS properties and values that define how an element should be styled
Can you provide more information about a property.
CSS syntax that defines which part of an element should be styled, such as its colour, size, position, and so on
This definition applies to which aspect of CSS: “CSS syntax that sets the variable units for properties”
Value
What is the element?
the style element can contain CSS code that will be applied to the HTML
Please describe a type selector.
also known as an “element selector”; isolates all the elements of a given type
What is a descendant selector?
a CSS selector that selects all the elements of a given type that are nested inside another type of element
Can you tell me the meaning of the “colour” selector?
sets the text colour of an element; accepts any CSS colour unit