Karteikarten
Ohne Titel
Karten in diesem Stapel (14)
- 1What are self-closing tags v. non-self-closing tags?1. Non-self-closing tags (ex. Hello world
): You need an opening tag and a closing tag
2. Self-closing tags (ex. ): You only need a single tag because it is both the opening and closing tag - 2What are HTML attributes? What are some examples?All HTML elements can have attributes
Attributes provide additional information about elements
Attributes are always specified in the start tag
Attributes usually come in name/value pairs like: name="value"
Example:Visit W3Schools - 3What is tags make up the bare-bones structure of any HTML page?The html tag, head tag, and the body tag
- 4What are some basic HTML elements that we might use?,
, - 5What is the difference between inline and block elements? What are some examples?We have two types of elements
1. block element: spans the entire width of the page
-
: generic block element
-
-
- etc...
2. inline elements: do not span the entire width of the page
- : generic inline element
-
-
- etc... - 6What are the 3 ways we can include CSS styling for our webpage?Ways of including CSS styling:
1. inline (style attribute)
2. internal ( tag)
3. external .css file () - 7What tag and what 2 attributes for that tag are required to use external CSS?the tag and the two attributes used are rel and href
- 8What is the difference between class and id?We can utilize the class attribute
to give multiple elements a particular
value
Id must be unique. You cannot have multiple elements
with the same id - 9Can multiple elements have the same id?No, you can't have multiple elements with the same id.
- 10Can multiple elements have the same class?Yes, multiple elements can have the same class
- 11What is the syntax for the class selector in CSS??
- 12What is the syntax for the id selector in CSS??
- 13What is the syntax for the tag name selector in CSS??
- 14—
Informationen
- Beschreibung
- Coding Karteikarten am Ohne Titel, erstellt von Ruben Michel am 10/11/2021.
- Erstellt von
- Ruben Michel
- Aufrufe
- 0
- Bewertung