×

Search anything:

100+ Key terms in HTML and CSS

Binary Tree book by OpenGenus

Open-Source Internship opportunity by OpenGenus for programmers. Apply now.

HTML and CSS are the backbone of web development, and it is essential for any web developer to have a good understanding of the key terms used in these languages. In this article, we will discuss the most important key terms in HTML and CSS with a brief description for each.

This will be a quick approach to revise and cover the entire domain of HTML and CSS.

HTML Key Terms:

Term Description
HTMLHypertext Markup Language (HTML) is the standard markup language used for creating web pages and web applications.
Tags A markup element used to define the structure and content of a web page.
AttributesA property of a tag that specifies additional information about the tag.
ElementA combination of a tag and its attributes.
Head tag <head>The part of an HTML document that contains information about the document, such as its title and metadata.
Body tag <body> The part of an HTML document that contains the visible content of the web page.
Meta tags <meta>HTML tags used to provide metadata about the web page, such as the author, description, and keywords.
Paragraph tag <p>An HTML tag used to define a paragraph of text.
Heading tags <h1>,<h2>,..,<h6>HTML tags used to define headings or subheadings.
Anchor tag <a>An HTML tag used to create a hyperlink to another web page or file.
Image tag <img>An HTML tag used to display images on a web page.
Alt attributeAn attribute used to specify alternative text for an image, which is displayed if the image cannot be loaded.
List tags<li>HTML tags used to create ordered or unordered lists.
Table tags <table>HTML tags used to create tables on a web page.
Table row tags <tr>A tag used to define a row in an HTML table.
Table data tag <td>A tag used to define a cell in an HTML table.
Form tag <form>An HTML tag used to create forms for user input.
Input tags <input>HTML tags used to create various types of form input fields, such as text boxes, radio buttons, and checkboxes.
Select tag <select>An HTML tag used to create drop-down menus in forms.
Option tag <option>An HTML tag used to define the options in a drop-down menu created with the select tag.
Label tag <label>An HTML tag used to associate text with a form input field.
Textarea tagAn HTML tag used to create a multi-line text input field.
Button tag <button>An HTML tag used to create clickable buttons on a web page.
Div tag <div>An HTML tag used to group and style other HTML elements.
Span tag <span>An HTML tag used to apply styles to small portions of text within a larger block of text.
Iframe tag <iframe> A tag used to embed another HTML document within the current document.
Noscript tag <noscript>A tag used to provide alternate content for users who have disabled JavaScript in their browsers.
Embed tag <embed>A tag used to embed multimedia content, such as audio or video, in an HTML document.
Noembed tag <noembed>A tag used to provide alternate content for browsers that do not support embedded multimedia content.
Class attributeAn attribute used to specify a class for an HTML element, which can be used to apply styles to multiple elements.
ID attributeAn attribute used to specify a unique identifier for an HTML element, which can be used to target the element with CSS or JavaScript.
CSS (Cascading Style Sheets)A stylesheet language used to style HTML documents.
Inline stylesCSS styles applied directly to an HTML element using the style attribute.
Internal styles CSS styles defined within the head of an HTML document using the style tag.
External stylesCSS styles defined in a separate CSS file and linked to the HTML document using the link tag.
Selectors CSS syntax used to target specific HTML elements for styling.
Descendant selectorA CSS selector used to target elements that are descendants of another element.
Class selectorA CSS selector used to target elements with a specific class.
ID selectorA CSS selector used to target elements with a specific ID.
Universal selectorA CSS selector used to target all elements on a web page.
Box modelA concept in CSS that describes how each HTML element is rendered as a rectangular box.
Margin The space between an element's border and the surrounding elements.
BorderThe edge of an element's rectangular box.
PaddingThe space between an element's content and its border.
HeightThe vertical dimension of an element's rectangular box
Width The horizontal dimension of an element's rectangular box.
Display propertyA CSS property that determines how an element is displayed on a web page, such as block, inline, or none.
Position propertyA CSS property used to position an element on a web page, such as relative, absolute, or fixed.
Float propertyA CSS property used to position an element to the left or right of its container.
Clear propertyA CSS property used to prevent elements from floating next to a cleared element.
Box-sizing propertyA CSS property used to determine how an element's width and height are calculated, such as content-box or border-box.
Media queriesCSS syntax used to apply different styles based on the size or orientation of the user's device.
Responsive designA design approach that aims to create web pages that look good on any device, using techniques such as fluid layouts and media queries.
AccessibilityThe practice of designing web pages that are usable by people with disabilities, such as those with visual or motor impairments.
Semantic HTMLThe use of HTML elements that convey meaning beyond just their visual appearance, such as the header, main, and footer elements.
DOCTYPEA declaration that specifies the version of HTML being used in the document.
Title attributeAn attribute used to provide additional information about an HTML element, such as a tooltip.
Rel attributeAn attribute used to specify the relationship between the current document and a linked document or resource.
Href attributeAn attribute used to specify the URL of a linked document or resource.
SEO (Search Engine Optimization) The practice of optimizing web pages for search engines, such as by using appropriate meta tags, heading tags, and keywords.

CSS Key Terms:

Term Description
CSS (Cascading Style Sheets) A stylesheet language used to style HTML documents.
SelectorCSS syntax used to target specific HTML elements for styling.
PropertyA characteristic of an HTML element that can be styled using CSS.
Value The specific setting for a CSS property.
Style rule A set of one or more CSS declarations applied to a selector.
DeclarationA single CSS property-value pair within a style rule.
ClassA group of HTML elements with a common class attribute that can be styled together using CSS.
IDA unique identifier for an HTML element that can be targeted with CSS.
Pseudo-classA keyword added to a selector that targets a specific state of an element, such as :hover or :active.
Pseudo-elementA keyword added to a selector that targets a specific part of an element, such as ::before or ::after.
InheritanceThe ability of child elements to inherit CSS properties from their parent elements.
SpecificityThe hierarchy of importance for CSS selectors, used to determine which styles apply to an element.
Box modelA concept in CSS that describes how each HTML element is rendered as a rectangular box.
MarginThe space between an element's border and the surrounding elements.
BorderThe edge of an element's rectangular box.
Padding The space between an element's content and its border.
Height The vertical dimension of an element's rectangular box.
WidthThe horizontal dimension of an element's rectangular box.
BackgroundThe color or image used for an element's background.
Color The color of an element's text and other content.
FontThe typeface and other settings used for an element's text.
Text alignment The horizontal alignment of an element's text, such as left, right, or center.
Line-heightThe vertical spacing between lines of text in an element.
Display propertyA CSS property that determines how an element is displayed on a web page, such as block, inline, or none.
Position propertyA CSS property used to position an element on a web page, such as relative, absolute, or fixed.
Float propertyA CSS property used to position an element to the left or right of its container.
Clear propertyA CSS property used to prevent elements from floating next to a cleared element.
Visibility propertyA CSS property used to hide or show an element on a web page.
Opacity property A CSS property used to adjust the transparency of an element.
TransitionA CSS property used to create a smooth animation between two states of an element.
AnimationA CSS property used to create more complex animations for an element.
FlexboxA layout mode in CSS used to create flexible and responsive layouts.
GridA layout mode in CSS used to create complex, two-dimensional layouts.
Media queriesCSS syntax used to apply different styles based on the size or orientation of the user's device.
Responsive designA design approach that aims to create web pages that look good on any device, using techniques such as fluid layouts and media queries.
Responsive imagesTechniques used to ensure that images are appropriately sized for the device they are being displayed on.
Vendor prefixesPrefixes added to CSS properties to indicate that they are experimental or specific to a particular browser, such as -webkit- or -moz-.
Normalize.cssA CSS file that provides consistent default styles across different browsers.
SCSS (Sass) A preprocessor for CSS that adds additional functionality, such as variables, nesting, and mixins.
LESSA preprocessor for CSS that allows for dynamic styles and additional functionality.
PostCSS A tool that transforms CSS with JavaScript plugins, allowing for additional functionality and improved browser support.
CSS modules A system for organizing CSS in a way that avoids naming collisions and allows for better reuse.
BEM (Block Element Modifier) A naming convention for CSS classes that helps to create more maintainable and scalable CSS code.
CSS frameworks Pre-built CSS files and styles that can be used to quickly create a website or application.
BootstrapA popular CSS framework that provides pre-built styles and components for building responsive websites.
Materialize A stylesheet language used to style HTML documents A CSS framework based on Google's Material Design principles.
FoundationA responsive CSS framework that provides a flexible grid system and pre-built components.
Tailwind CSS A CSS framework that provides pre-built utility classes for quickly building custom designs.
CSS preprocessorsTools that generate CSS from higher-level syntax, such as SCSS or LESS.
CSS-in-JSA technique that allows for writing CSS directly in JavaScript code, providing more dynamic and modular styles.
FoundationA responsive CSS framework that provides a flexible grid system and pre-built components.
Max-height propertyA property used to set the maximum height of an HTML element.
Min-height propertyA property used to set the minimum height of an HTML element.
Background color property <bgcolor>A property used to set the background color of an HTML element.
Background image property A property used to set the background image of an HTML element.
Font-family propertyA property used to set the font of an HTML element.
@media ruleA rule used to apply different styles based on the size or orientation of the viewport.
@font-face ruleA rule used to specify a custom font to be used on an HTML page.
@keyframes ruleA rule used to define a set of styles to be used in an animation.
!importantA code used to override other style declarations and apply a particular style property and value.
FrameworkA pre-built set of CSS and HTML files used to create a responsive and customizable website or web application.

In conclusion of this article at OpenGenus, HTML and CSS are two essential languages for creating websites and web applications. HTML provides the structure and content of a web page, while CSS is used for styling and layout. This list of key terms related to HTML and CSS provides a quick revision of important concepts, including elements, tags, attributes, selectors, properties, values, classes, IDs, and frameworks. By understanding these key terms and concepts, web developers can create effective and efficient HTML and CSS code for their projects, resulting in visually appealing and user-friendly web pages.

100+ Key terms in HTML and CSS
Share this