02 August 2013

Tutorial




Intro




INTRO / Definition and Usage

When using HTML to change font styles, you must place a tag before and after the text you wish to change.

To make text bold, place <b> before the text and after the text. </b>
Example: <b>Text</b>
To make text italic, place <i> before the text and after the text. </i>
Example: <i>Text</i>
To make text underlined, place <u> before the text and after the text.</u>
Example: <u>Text</u>


Stand alone HTML tags

A few tags don’t have end tags.
These are tags that are stand-alone structure,
and don’t need to contain content to be meaningful.
Line-break. Starts a new line.

<br>

Differences Between HTML and XHTML

In HTML the <br> tag has no end tag.

In XHTML the <br> tag must be properly closed, like this: <br/>.

<p> TAG

The <p> tag defines a paragraph.
<p>This is some text in a paragraph.</p>

automatically add some space (margin) before and after each <p> element.

<center> TAG

To make text center, place <center> before the text and after the text. </center>

But in the new FFS you can set the text-align left/center in "edit the about me" you will find in the lower section. If you will select the <center> all txt/image will be <center> no need the <center> TAG
<div> TAG

<div> is a block level element that can be used as a container for grouping other HTML elements.

The <div> tag is used to group block-elements to format them with styles.

<span> TAG

<span>tag provides a way to add a hook to a part of a text.
When the text is hooked in a element you can add styles to the content,

<a> TAG

The <a> tag defines an anchor. An anchor can be used:
•To create a link to another page, by using the href attribute
The The <a> element is usually referred to as a link or a hyperlink.


<title> TAG

This tag goes in the document’s head section, and isn’t displayed on the web page itself. It says what the title of the web page is, and is displayed in the browser’s title bar (very top).