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