i want to type this in html. My name is Rabi ......................................... I am Web developer i type this in notepad <html> <body> <title>My First</title> <h3>My name is Rabi</h3> <h3>I am Web Developer</h3> </html> </body> in the result the words showing like this My name is Rabi I am Web Developer I need like this My name is Rabi ................................................... I am Web Developer I mean i want to give space. whats the tag or code i use?
Instead of just adding in a load of " ", why not opt for the easier and more graceful option of simply using: <style type="text/css"> #spacer { width: 150px; display: inline-block; } </style> <p>My name is Rabi<div id="spacer"> </div>I'm a web developer</p> Code (markup): This way your mark-up isn't annihilated by 20 ugly " " inserted every time you want to make some space.
@rabi_nawaz You can visit this site for some free tutorials and many more w3schools/w3-schools.com. Site was very helpful to me.
Why is your title tag in the BODY? What makes those two separate headings and/or starts of subsections of the page? Do you have a H2 and H1 before that H3, otherwise what makes them a H3... Why are you closing your body and html tags in reverse? and to be frank, what you are asking for has ZERO business in the markup. ASSUMING that would be a heading tag... I'll use a H1 for this... HTML: <h1><span>My name is Rabi</span> I am Web Developer</h1> CSS: h1 { overflow:hidden; /* wrap floats */ zoom:1; /* trip haslayout, wrap floats legacy IE */ text-align:right; } h1 span { float:left; } Code (markup): Though to say what the PROPER markup would be, I'd have to see that in context on a full page.