• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/8

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

8 Cards in this Set

  • Front
  • Back
Name the two parts to an HTML file
Head (title etc)

Body (content that will be visible on the page)

link syntax
text
image syntax
<img src="URL"
Linkable image



Linkable div



What should you use when you want to present information neatly and in rows
a table



There are many tags associated with tables, but it all starts with the tag, so let's add that first.




A table is just a bunch of information arranged in rows and columns.




You don't really create columns in s: instead, you tell each row how many cells to have, and that determines your number of columns.




Adding a second table data cell has the effect of adding a second table column.




Tables are far from clean code and don’t bring anything semantic to the content unless you’re dealing with actual tabular data.


Table syntax
table: <table



table head: <thead


table head data: <th


table head column span: <th colspan="2"




table body: <tbody


table row: <tr


table data: <td




Create a title for the table that spans across x-number of columns: <colspan



table header info












Div
Division. To divide the page into containers





The div tag is a block-level element that defines a section within a document. Divs are thus suitable for building the structure of Web pages.




The biggest problem with div tags is that they are used too often. Divs should only be used to build structure and as placeholders for design elements when no other block-level elements can describe the content.




Before creating a div, the developer should consider, “Do I really need this, or can I do this with a block-level element?” Liberal use of h1 to h5 for headings and ul and dlfor lists helps a lot, and don’t forget the paragraph tag. Another element that doesn’t need div wrapping is form.

Span
wrap a particular word to change its styling






This text is black, except for the word red!