Attributes define the way content in an element is displayed, processed, characterized or deployed. They look like equations: property="value" ; some are optional, some are required for validation. They are like adjectives and adverbs that 'work on' the element

New

Long-Term Learning

Learn efficiently and remember over time.

Start Long-Term Learning

Get personalized study reminders at intervals optimized for better retention.
Track your progress on this set by creating a folder
Or add to an existing folder

Add this set to a folder

  • Establishes the type of characters used in a web page, used in a <meta> tag

    charset="utf-8"

    Defines a page's language as English, used in an <html> tag

    lang="en"

    Says "I'm a stylist page" to a <link>

    rel="stylesheet"

    Says that a stylesheet may be found at 'book.css' in the root of a web site

    href="book.css"

    Says an <img> file may be found in the images folder as 'logo.gif'

    src="images/logo.gif"

    Displays the text "TCA Logo" in case an image file for the logo cannot be found or displayed

    alt="TCA Logo"

    Displays a screen tip saying "Remember the Alamo" when hovering over an image

    title="Remember the Alamo"

    Says to link to the page 'contact.html' within the root of the web site

    href="contact.html"

    Identifies a web input element as a checkbox

    type="checkbox"

    Boolean attribute saying to mark a checkbox as selected

    checked

    Assigns an identification name to a <div> as 'page'

    id="page"

    Provides a screen tip (tool tip) on a hyperlink saying "Visit our school!"

    title="Visit our school!"

    Identifies an element to be styled as a 'nav_link'

    class="nav_link"

    Multiple attributes are separated by _____

    spaces

    Attribute values should be enclosed in _____

    double quotes

    A _____ _____ represents either an on or off value

    Boolean attribute

    A(n) ____ attribute with the same value can be used for more than one HTML element

    class

    A(n) ____ attribute is used to identify a single HTML element so it's value can be used for only one HTML element

    id

    True or false: Spaces may be used in attribute values

    false

    True or false: Spaces may be used around the '=' in an attribute description

    true

    True or false: Attribute values are case sensitive

    true

    Spaces are _____

    evil

    Attribute to identify a link as going toward a favicon

    rel="shortcut icon"

    Identifies a <meta> element as containing vital search words for a search engine

    name="keywords"

    Establishes the list of keywords or summary info for a <meta> statement

    content = "blah blah blah"

    Attribute name for a date and time in a standard form that can be parsed by a browser

    datetime

    Boolean attribute indicating that the date is a publication date for the article that contains the time element

    pubdate

    Specifies a relative or absolute URL for a link

    href

    Required attribute for an image, telling us where it is

    src

    Require attribute for an image, telling us what to show if the image is unavailable

    alt

    Specifies an image height as 100px

    height="100"

    Specifies an image width as 80 pixels

    width="80"

    Used to apply an 'inline style' of font color, red Antiquated, though, should not be used

    style="color:red;"

    Specifies that a style sheet should be used for printing to a printer (used by the <link> element)

    media="print"

    Default value for the media property

    screen

    Two properties for formatting unordered lists

    list-style-type and list-style-image

    Four values for list-style-type

    disc, circle, square, none

    Six common values for the list-style-type property of an ordered list

    decimal, decimal-leading-zero, lower-alpha, upper-alpha, lower-roman, upper-roman

    Sets the tab order for links (<a>), that is, the sequence links will be tabbed to when the user presses the 'Tab' key

    tabindex

    Instructs the browser to open a hyperlink in a new page

    target="_blank"

    Used to create an anchor name of 'top' to an <a> tag (for use as a placeholder)

    id="top"

    Used for making image maps

    usemap

    Provides a name for an image map

    name

    Indicates the type of area for an image map. Possible values are: rect, circle, poly and default

    shape

    Used to provide the x, y pair for a point in an image map polygon

    coords

    You wish to collapse two row cells into one. Use this attribute

    rowspan="2"

    Used to tell if a cell is associated with a column or a row in a table

    scope

    Identifies one or more header cells that describe the content of a cell

    headers

    Write a complete ordered list opening tag statement that begins numbering the list at 4

    <ol start="4">

    Write a link that starts an email message to 'ed@yahoo.com' with a subject of 'Web mail'

    <a href="mailto:ed@yahoo.com?subject=Web mail">Email us!</a>

    Identifies a keyboard key that can be used in combination with other keys to activate the control. The key combination depends on the operating system and the browser

    accesskey

    True or false: The target attribute is deprecated (phased out, shelved) in HTML5, as it was in HTML4

    false

    Use this attribute to specify a link to a PDF

    type="application/pdf"

    Use this attribute to specify a link to a mp3 file

    type="audio/mpeg"

    Please allow access to your computer’s microphone to use Voice Recording.

    Having trouble? Click here for help.

    We can’t access your microphone!

    Click the icon above to update your browser permissions above and try again

    Example:

    Reload the page to try again!

    Reload

    Press Cmd-0 to reset your zoom

    Press Ctrl-0 to reset your zoom

    It looks like your browser might be zoomed in or out. Your browser needs to be zoomed to a normal size to record audio.

    Please upgrade Flash or install Chrome
    to use Voice Recording.

    For more help, see our troubleshooting page.

    Your microphone is muted

    For help fixing this issue, see this FAQ.

    Star this term

    You can study starred terms together

    NEW! Voice Recording

    This is a Plus feature