Wednesday, December 10, 2014

Publishing and Web Design WEEK 2(FRIDAY)‏‏

HTML Quotation and Citation Elements

 The HTML <q> element defines a short quotation.

Browsers usually insert quotation marks around the <q> element.


Example:



The HTML <blockquote> element defines a quoted section.

Browsers usually indent <blockquote> elements.

Example:



HTML <address> for Contact Information

The HTML <address> element defines contact information (author/owner) of a document or article.

The element is usually displayed in italic. Most browsers will add a line break before and after the element.

Example:




HTML <cite> for Work Title

The HTML <cite> element defines the title of a work.

Browsers usually displays <cite> elements in italic.

Example:


HTML Styling

Every HTML element has a default style (background color is white, text color is black, text-size is 12px ...)

Changing the default style of an HTML element, can be done with the style attribute.

This example changes the default background color from white to lightblue:






















key text








mind map







No comments:

Post a Comment