← All Online Coding Lessons Flashcard Decks

HTML and CSS Web Development Flashcards

6 cards from real Online Coding Lessons practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 6 HTML and CSS Web Development flashcards as text
  1. Which HTML tag is used to define an unordered (bulleted) list?

    Answer:

    The tag defines an unordered list with bullet points, while each item is wrapped in tags.

  2. What is the correct CSS syntax to make all elements bold?

    Answer: p {font-weight: bold}

    The CSS property 'font-weight: bold' is used to make text bold when applied to a selector.

  3. What does CSS stand for?

    Answer: Cascading Style Sheets

    CSS stands for Cascading Style Sheets, the language used to style and layout HTML elements on web pages.

  4. Which HTML element is used to define the structure/title shown in the browser tab?

    Answer:

    The element inside the section defines the text shown in the browser's tab and title bar.

  5. Which CSS property is used to change the background color of an element?

    Answer: background-color

    The 'background-color' CSS property sets the background color of an HTML element.

  6. What is the purpose of the tag in HTML?

    Answer: To create a division/section for grouping elements

    The tag is a generic container element used to group and structure HTML content into sections.