sub and sup

Discussion in 'Programming' started by krisov, Feb 9, 2010.

Remove these ads by signing in
Remove these ads by signing in
Thread Status:
Not open for further replies.
  1. krisov Banned

    Member Since:
    Jan 4, 2010
    Message Count:
    108
    Likes Received:
    0
    Occupation:
    Web Designer
    Can anyone please let me know the specific purpose of SUB and SUP in HTML
  2. mattress10 New Member

    Member Since:
    Feb 9, 2010
    Message Count:
    10
    Likes Received:
    1
    Try to visist w3school.com
  3. Caleb Member

    Member Since:
    Dec 1, 2009
    Message Count:
    788
    Likes Received:
    10
    Occupation:
    ....
    Location:
    {Reading your post}
    Can you give me an example of where these tags would be used?

    Caleb
  4. johndesenio New Member

    Member Since:
    Feb 9, 2010
    Message Count:
    18
    Likes Received:
    2
    [FONT=Verdana, sans-serif]The use of subscript tag <sub> is use for chemical compound in Chemistry while superscript tag <sup> is user for exponent power.[/FONT]
    1 people like this.
  5. proweb New Member

    Member Since:
    Jul 22, 2009
    Message Count:
    1,308
    Likes Received:
    44
    Occupation:
    Joomla Designer
    Location:
    Joomla Expert
  6. SeoKungFu Active Member

    Member Since:
    Jul 10, 2009
    Message Count:
    597
    Likes Received:
    76
    Occupation:
    SEO Ninja
    A human-driven reply is way too better than RTFM style with links, IMO.
    So that is a good answer on the question.
  7. sazymi New Member

    Member Since:
    May 13, 2009
    Message Count:
    1,384
    Likes Received:
    57
    Occupation:
    SEO, SMO, Blogger
    Location:
    Los Angeles, CA
    The <sub> tag defines subscript text and subscript text appears half a character below the baseline. Subscript text can be used for chemical formulas, like H2O.

    The <sup> tag defines superscript text and the superscript text appears half a character above the baseline. Superscript text can be used for footnotes, like WWW.

    Note:

    Based to W3C, whether SUB and SUP are intended to be used for stylistic presentation only. And if they are, it should be explicitly stated that they should not be used for exponents in mathematical expressions or in other contexts where it might change the meaning of a piece of text if SUB and SUP elements were presented as normal text.
Thread Status:
Not open for further replies.

Share This Page