Basic HTML for eBay Sellers
Getting Started - Step
9
More tags and Extended Syntax
 
 
  Index      
   1 - Getting Started

 2 - Getting Started

 3 - Getting Started

 4 - Getting Started

 5 - Getting Started

 6 - Paragraph tags

 7 - Bold tags

 8 - More tags

 9 - Extended Syntax

10 - Font tags

11 - Font tags (cont)

12 - List tags

13 - Link tags

14 - Image tags

15 - Center tags

16 - Table tags

17 - Review
   
Following this paragraph, you will find a short list of other simple tags. Try them out on your test.html file and see what they do.

 

TIP! Don’t forget Save the Changes each time you add or subtract tags or text from your test.html file:
<center>type text here </center>
<s>
type text here </s>

 

The next two tags do not have closing versions. Try them and see what they do!

 

<hr>
<br>

 


HTML Extended Syntax Tags

 

So far, we have used a very simple form of the HTML tag, consisting of the tag name in between a lesser than character and a greater than character.


<name>


There is a slightly more complex syntax for some tags called Extended Syntax which looks like this:


<name attribute=value>


Here is an example of a new tag that uses this extended syntax. It's called the <font> tag. The <font> tag cannot live on it's name alone. If you were to type in the following, nothing would happen in the browser:

 

<font> some text here</font>

The line, "some text here" would appear unchanged in the browser window. What the <font> tag needs is an attribute=value pair. Here is an example of an attribute for color with a value of red:


<font color=red> type some text to turn red here </font>


To recap:

font is the tag name

color is a tag attribute

red is a tag value

The text between the opening and closing <font> tags will display as the color shown for the value, in this case, “red.”


 

Note: The closing tag for an extended syntax tag never repeats the attribute=value pair - only the tag name, in this case </font>!  


Let's type in a <font> tag into our item description and watch it in action!


Back Home           Back Home
Back to Step 8 On to the Font Tag

 
   
Page 9