Explore tens of thousands of sets crafted by our community.
HTML & CSS Basics
30
Flashcards
0/30
CSS
Cascading Style Sheets, a style sheet language used for describing the presentation of a document written in HTML or XML.
id
A unique identifier which can be used to specify a single element.
div
A generic container for flow content, which does not inherently represent anything.
img
Embeds an image into the document.
h1 - h6
Represents 6 levels of section headings, where h1 is the highest level and h6 is the lowest.
li
Defines a list item.
span
An inline container used to mark up a part of a text, or a part of a document.
ol
Defines an ordered list.
a
Defines a hyperlink.
p
Defines a paragraph.
ul
Defines an unordered list.
HTML
Hypertext Markup Language, the standard markup language used to create web pages.
class
An attribute used to define equivalent styles for elements with the same class name.
property
In CSS, properties are aspects of style that can be modified, such as color, border, and margin.
value
In CSS, the value is chosen to style the selected property of an element.
selector
In CSS, selectors are patterns used to select the elements you want to style.
id selector
In CSS, the ID selector is used to select one unique element with the specific ID.
class selector
In CSS, the class selector is used to select elements with the specific class.
element selector
In CSS, the element selector is used to select all elements of a specific type.
descendant selector
In CSS, a descendant selector matches all elements that are descendants of a specified element.
attribute selector
In CSS, attribute selectors are a way to select elements based on their attribute values.
pseudo-class
In CSS, pseudo-classes are used to define the special state of an element.
pseudo-element
In CSS, pseudo-elements are used to style specific parts of an element.
grouping selectors
In CSS, grouping selectors allow you to apply the same style to multiple selectors.
child selector
In CSS, a child selector matches all elements that are direct children of a specified element.
universal selector
In CSS, the universal selector is used to select all elements of any type on the page.
comment (CSS)
Comments are used within CSS to explain the code and are not displayed in the browser.
comment (HTML)
Comments are used to explain the code in HTML and are not displayed in the browser.
adjacent sibling selector
In CSS, an adjacent sibling selector selects an element that is directly after and shares the same parent as another element.
general sibling selector
In CSS, a general sibling selector matches elements that share the same parent and follows another element.
© Hypatia.Tech. 2024 All rights reserved.