Shared Flashcard Set

Details

HTML
HTML markups, elements, and attributes
26
Computer Science
Undergraduate 1
03/10/2011

Additional Computer Science Flashcards

 


 

Cards

Term
<p>   </p>
Definition
Paragragh
Term

<a href="default.htm" >

Definition
This is a link
Term
<br />
Definition
line break (breaks without starting new paragraphs)
Term
syntax of html element
Definition

  • An HTML element starts with a start tag / opening tag
  • An HTML element ends with an end tag / closing tag
  • The element content is everything between the start and the end tag
  • Some HTML elements have empty content
  • Empty elements are closed in the start tag
  • Most HTML elements can have attributes

 

Term

<body> 

 

</body

Definition
everything in between is the body of the page
Term

<html>

 

</html>

Definition
defines the html for that page
Term
empty html elements
Definition

HTML elements with no content are called empty elements.

<br> is an empty element without a closing tag (the <br> tag defines a line break).

 

Term
html tag attributes
Definition

  • Attributes provide additional information about an element
  • Attributes are always specified in the start tag
  • Attributes come in name/value pairs like: name="value"

 

Term

<a href="http://www.w3schools.com">This is a link</a>

 


what is the attribute?

Definition
href=""
Term
Heading tags
Definition

<h1>  </h1

 

goes through h6

Term

<!--...--> 

 

ex.   <!--what is this?-->

Definition
this is a comment tag
Term
<b>  </b>
Definition
bold tags
Term
<strong>  </strong>
Definition
Strong tags (bolds text, and places more emphasis on text)
Term
<i>  </i>
Definition
italic tags
Term
<em> </em>
Definition
italics tag (emphasized)
Term
<small>  </small>
Definition
small text
Term
<big>  </big>
Definition
big text
Term
<sub>  </sub>
Definition
subscript text
Term
<sup>  </sup>
Definition
superscripted text
Term
<ins>  </ins>
Definition
inserted text (underlined)
Term
<del>  </del>
Definition
deleted text (strikethrough)
Term

<abbr>  <abbr>

 

example: <abbr title="World Health Organization">WHO</abbr>

Definition
defines an abbreviation
Term

<acronym>  </acronym>

 

example: <acronym title="as soon as possible">ASAP</acronym>

Definition
defines an acronym
Term
<address> </address>
Definition
defines an address and contact information
Term

<bdo>  </bdo>

 

example: <bdo dir="ltr">

Here is some Hebrew text

</bdo>

Definition

text direction

 

In the example, the text "here is some hebrew text" would read left to right (ltr).  RTL changes it to right to left

Term

<blockquote>  </blockquote>

 

example:  A long quotation:

<blockquote>

This is a long quotation. This is a long quotation. This is a long quotation. This is a long quotation. This is a long quotation.

</blockquote>

Definition
a long quotation; a quotation block
Supporting users have an ad free experience!