Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

need help with b tag and h tag pls


rommany

Recommended Posts

Evening Chaps,

 

 

Im trying to add a bold tag to my keywords and when i do it all im getting is the whole thing going bold, could someone show me where i need to put it so only the for eg: baby shoes comes out bold.

 

second ive added a h tag but have not added a number eg: 1 or 2, is this ok or do i need to add one of the numbers.

 

Welcome to jellybabys<p>We are family run business selling quality <a href="http://jellybabys.co.uk/index.php?cPath=25">baby clothing</a></h>, <a href="http://jellybabys.co.uk/index.php?cPath=21">baby shoes</a></h> & accessories upto 24mts of age.<p>

 

 

 

many thanks

Link to comment
Share on other sites

 

"hx" is a block level element...

 

<h1>Big Title</h1>

through to

<h6>Smaller Title</h6>

 

<h> is not an HTML Tag - it's something you've made up ;)

 

When you start a tag, you must finish it:

 

<h1>Jelly Babys</h1>

<p>We sell all sort of <strong>great stuff</strong></p>

 

Don't use <b></b>, use <strong></strong>

Don't use <i></i>, use <em></em>

 

Have a search in Google for an HTML Tags Tutorial

Link to comment
Share on other sites

Try using <STRONG> and </STRONG> to turn on and off bold text

You can change color with the <FONT COLOR="#0000FF">

and Size with <FONT SIZE=3> </FONT>

Be sure to terminate the calls with the matching call preceeded by a /

 

<FONT COLOR="#003820"><STRONG><FONT SIZE=3>Welcome to jellybabys</STRONG></FONT>><FONT SIZE=2><p>We are family run business selling quality <a href="http://jellybabys.co.uk/index.php?cPath=25">baby clothing</a></h>, <a href="http://jellybabys.co.uk/index.php?cPath=21">baby shoes</a></h> & accessories upto 24mts of age.<p></FONT>

Link to comment
Share on other sites

Sorry to sound thick, but i like to be clear in my head when im doing something or i just worry ive done it wrong.

 

So you are saying not to use <h></h> but use <strong></stong>

 

the reason im asking is that i have seen a few read ups about h tags and they say to use them, so why use strong and not <h> ??

 

Many thanks again

Link to comment
Share on other sites

So you are saying not to use <h></h> but use <strong></stong>

 

the reason im asking is that i have seen a few read ups about h tags and they say to use them, so why use strong and not <h> ??

 

No, <strong></strong> is in place of <b></b> and creates a bold text.

<h></h> doesn't exist on it's own, only if followed by a number, like <h1></h1>. In that tag the 'h' stands for header and the number the size of the header font. <h1> is the largest, <h6> the smallest.

 

Even though the text in a header tag is automatically bold, it is not a replacement for <b></b> or <strong></strong>, which only controls the boldness of a font, but not the size.

RojanUK

Link to comment
Share on other sites

The difference between <b> and <strong> is subtle.

 

Basically <strong> is a logical version of <b>, and may be rendered differently depending on the parser, but is usually equivalent to <b>

<b> should just be used to highlight text for display purposes only - if the words in <b> do not need any special emphasis or have any special extra relevance in the context of the sentence, it's fine to use, otherwise <strong> is recommended.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...