Library tutorials & articles
Text formatting in HTML
- Introduction
- Bold, Italic & Underline
- Changing Font Styles
- Alignment and Spacing
Bold, Italic & Underline
Some of the simplest ways to make text look nicer, or have a better impact,
is using bold, italic, or underline. I wouldn't reccomend having your whole page
full of bold text, but one thing you can use bold, italic, and underline for
is making your text standout better. Or, you could format parts of your text
that you want visitors to notice. For example, let's say you have a gaming website.
Compare these two peices of news:
Microsoft announced today that XBox...
Microsoft announced today that XBox...
Notice how XBox stands out more because it is italic? It makes sure visitors
notice it. Important things in a story could be italisized, or if you want to
make something really stand out, you could use bold or underline. Like, perhaps
you have categories with things in them. You'd want the category names to stand
out, so that people would know they were categories. You could make the header
of each category bold. Now, enough rambling on about what you'd use these for...
here's how to use them.
It's really easy. For bold you use <b> to open
the tag, and <b> to close it. As you probably know,
the way HTML works is that with most tags, you have an opening tag and a closing
tag. Anything in between the opening and closing tags is formatted, depending
on what tag it's in between. For italic, your tags are <i>
and <i> to close it. Can you guess what underline
is? If you guessed <u> to open the tag and <u>
to close it, you're right!
Related articles
Related discussion
-
$200 Website Design and Development
by manypeopledesign (1 replies)
-
Dallas Interactive Marketing & Internet SEO SEM October Meetup
by dsafmx (4 replies)
-
Can I design web site by using ASP.net
by pradeepfusion (1 replies)
-
Online Freelance Jobs for Programmers
by getafreelancer02 (0 replies)
-
Inserting checkbox values into one field
by ramsenthil2000 (1 replies)
Related podcasts
-
Top Web Design Mistakes
Pete LePage is Product Manager of Internet Explorer Developer Division and he doesn’t want your web site to stink. Sharing from his talk given at TechEd 2008, Pete highlights 10 common web design mistakes and tells you how you can bypass the same blunders. Pete also tells us how future features o...
This thread is for discussions of Text formatting in HTML.