Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online

Html divspan tag code learning guide 2012 Donate at flattr Flattr this





Alert! Connect with 10,000 Chating Online. Join Now

Html divspan


Learn html divspan codes and tags using the sample below.

Html divspan

DIVSPAN

This code has been enhanced to help you see what's going on in the preview below.

CODE

<HEAD>

  <STYLE TYPE="text/css">

      .override {

          font: normal 10pt serif;

          background-color: #00CCFF;

      }

      SPAN {

          font: bold 24pt sans-serif;

          background-color: #FFCCCC;

      }

  </STYLE>

</HEAD>

<BODY>

  <DIV CLASS="override">

    <H1>Heading Level <SPAN>One</SPAN></H1>

    <SMALL>Small text</SMALL>

  </DIV>

    <H1>Heading Level <SPAN CLASS="override">One</SPAN></H1>

    <SMALL>Small text</SMALL>

</BODY>
BROWSER

Heading Level One

Small text

Heading Level One

Small text

These are just a part of the formatting tools that replace the <FONT>tag</FONT>.
Note:

  1. A division is block level (like headings and paragraphs), a span is inline (like bold and italics).
  2. You cannot "see" a division or span in a browser, except through style sheet formatting.
  3. The style attributes of a division should override all standard HTML tag characteristics in between <DIV> tags; except when a style sheet definition for a specific tag found between the <DIV> tags has already been defined.
  4. A .class style definition can add to, or override, any style previously defined for the <TAG> itself.

Because of style sheets, you now have many more options available to you; including background colors, borders, even background images under specific lines of text!


Html divspan source code

 

Html divspan tutorial

Html divspan code on this is provided for your study purpose, it will guide you to know how create and design a website using html. use it to practice and train your self online

All the tutorials on this site are free, the page code is provifed for you to use it to practice, if you want to help to improve and maintain this work, you can donate to us on.



Html tutorial guide and web design in easy steps


Beginners guide to html

Html tag

bdo

css

anchor

textformat

image

code

paragraph

nobr

q

ol

insdel

meta

ul

form

divspan

table

blockquote

address

dl

fieldset

ascii

checkbox

abbracro

ssi

object

All the tutorials on this site are provided for free. You can copy and print the tutorials and code on this site, but you are not allowed to reproduce this information on another website. All rights reserverd 2012
 

Css Generator    Htaccess Generator    Percentage Calculator   Area conversion

Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online