Java Games: Flashcards, matching, concentration, and word search.

Web 2 Lesson 3 Matching

div, pSelects all <div> elements and all <p> elements
div pSelects all <p> elements inside <div> elements
div > pSelects all <p> elements where the parent is a <div> element
div + pSelects all <p> elements that are placed immediately after <div> elements
p ~ ulSelects every <ul> element that are preceded by a <p> element
[target=_blank]Selects all elements with target="_blank"
[title~=flower]Selects all elements with a title attribute containing the word "flower"
a[href^="https"]Selects every <a> element whose href attribute value begins with "https"
p::first-letterSelects the first letter of every <p> element
p::first-lineSelects the first line of every <p> element

Choctawhatchee High School
Fort Walton Beach, FL

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities