HTML Tutorial





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
HTML Basic
Introduction
How To
HTML Tags
html, head, body
Text Manipulation
IMAGES
Special Effects
Using Tables
Forms
Other Topics
 

ADVANCED HTML
Introduction
Media
Meta Tag
Frame tags
Fieldset
Tooltip
DTD
Image tags
Subscript & Superscript
Bullet styles
Canvas
Other tags
Ask Your Doubts
More about HTML
Feedback
 




HTML Text Manipulation


Tutorials Html

Topic

How to use headings tag in html?
How to create blank white space in html?
The use of <div> tag?



Explanation

Headings: <h1> </h1>
Any text that comes with in this tag will be of heading type 1.
Code:
<h1>
Heading 1
</h1>


Result:

Heading 1

Similarly we can draw different headings using

<h2> </h2>

< h3> </h3>

<h4> </h4>

<h5> </h5>
<h6> </h6>



Space: &nbsp;

This code will help you to give some big space between words or character.
One &nbsp; (nbsp stands for "non-breaking space") is equal to a single space.

Example: testing&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;space.
Result: testing        space.

However space, border, padding can be managed easily using css margin and padding properties.

DIV: <div> </div>
This tag is basically used to align the text in left/right/center
This tag will widely used in css.

Example 1:
<div align=left>
Left <br>
Left
</div>


Result 1:
Left
Left


Example 2:
<div align=center>
Center <br>
Center
</div>


Result 2:
Center
Center





Other Links

web hosting