Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Tutorials

Tutorials Programming Tutorials - Post your tutorials here!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-03-2007, 11:12 PM
clookid's Avatar   
clookid clookid is offline
Programmer
 
Join Date: Jan 2007
Posts: 148
Rep Power: 7
clookid is on a distinguished road
Default HTML Basic Formatting

HTML Basic Formatting

Welcome to the HTML Basic Formatting tutorial of Webmaster's Tutorials! You will learn a lot of important tags in this tutorial, two of which have different ways of doing them but please do not pick at me for choosing a way that you do not like.

After reading this tutorial you will know:
  • how to bold text.
  • how to do italics text.
  • how to underline text.
  • how to give text emphisis.
  • how to do a line break.
  • how to use paragraphs.
  • how to do a horizontal line.

As I do in all of my tutorials, I am going to start off with an example and explain it bit by bit. This example is actually going to have a use!

Here is the example:

Example 1-1:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
      <title>HTML Example</title>
  </head>
  <body>
    <b>This text is bold.</b>
    <i>This text is italics.</i>
    <u>This text is underlined.</u>
    <em>This text has emphisis.</em>
    <br>
    I have just used a line break.
    <p>This is a paragraph.</p>
    This is a horizontal line.
    <hr>
  </body>
</html>
The above will output:
This text is bold. This text is italics. This text is underlined. Cannot give text emphisis with BBcode.
I have used a line break.

This is a paragraph.

This is a horizontal line.
Cannot do horizontal lines with BBcode.

Line 1:
This is just the first opening line of an HTML document (you already know this from the last tutorial).

Line 2:
This is just the first opening line of an HTML document (you already know this from the last tutorial).

Line 3:
This is the opening of the head tag.

Line 4:
This is the title of the document. In this case it is "HTML Example".

Line 5:
This is the closing head tag.

Line 6:
This is the opening of the body tag.

Line 7:
This is finally a tag that you do not know! It outputs bold text.

Line 8:
This outputs italical text.

Line 9:
This underlines text.

Line 10:
This gives text emphasis.

Line 11:
This is a line break. A line break moves text to the next line.

Line 12:
This is just outputting text after the line break.

Line 13:
This is a paragraph.

Line 14:
This is just outputting text before the horizontal line.

Line 15:
This is a horizontal line.

Line 16:
This is closing the body tag.

Line 17:
This is finally bring the script to a conclusion (closing the document).

You have finally come to the end of this tutorial. I hope you enjoyed it! Keep practicing, you will not get all of this information in one gobble. You may need to read this tutorial over and over again until you understand/remember all of the tags that you have been taught.

You must have authors permission to use this tutorial!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 01-05-2007, 12:36 PM
AfTriX AfTriX is offline
Programming God
 
Join Date: Jan 2007
Location: Sri Lanka
Posts: 596
Rep Power: 0
AfTriX is an unknown quantity at this point
Default

Thanks for explaining easy stuffs. Useful for the beginners.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-06-2007, 08:07 PM
xtraze xtraze is offline
Programming God
 
Join Date: Dec 2006
Location: Sri lanka
Posts: 921
Rep Power: 0
xtraze is on a distinguished road
Send a message via MSN to xtraze Send a message via Skype™ to xtraze
Default

But I advice all to use <br> and <hr> tags as
<br />
<hr />
As when you are passing HTML and going to DHTML,XHTML you must obey some rules, but get used to them from now as sometimes it can be a trouble.
When it's XHTML, you can include attributee or some things. like
<hr width="90%" />
Where the line will only cover 90%. But when working with XHTML you should Obey these rules.

codes must be in simple letters.
single tags must be like <tag />

Thanks for the topic dude, Learn from the Basics. Nice.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-07-2007, 02:11 AM
AfTriX AfTriX is offline
Programming God
 
Join Date: Jan 2007
Location: Sri Lanka
Posts: 596
Rep Power: 0
AfTriX is an unknown quantity at this point
Default

Thats a great idea dude! While we preparing ourself a language being prepared for another one as well. And I also encountered some trouble when I tried VB Script and then the JavaScript due to the problems like Case Sensitive and so on..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-07-2007, 10:17 PM
clookid's Avatar   
clookid clookid is offline
Programmer
 
Join Date: Jan 2007
Posts: 148
Rep Power: 7
clookid is on a distinguished road
Default

xtraze, that was exactly what I asked people not to do in my tutorial! :P
Quote:
two of which have different ways of doing them but please do not pick at me for choosing a way that you do not like.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 01-08-2007, 01:37 AM
xtraze xtraze is offline
Programming God
 
Join Date: Dec 2006
Location: Sri lanka
Posts: 921
Rep Power: 0
xtraze is on a distinguished road
Send a message via MSN to xtraze Send a message via Skype™ to xtraze
Default

Sorry about that and I never saw that Quote till now. Sorry, and send me a PM if you want that post + this post to be deleted, only if you really hate it and mad at me.

But I am not picking at you, just adding up something.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-08-2007, 09:45 PM
clookid's Avatar   
clookid clookid is offline
Programmer
 
Join Date: Jan 2007
Posts: 148
Rep Power: 7
clookid is on a distinguished road
Default

I am not mad other wise I would have put the little ":P" :P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-09-2007, 12:09 AM
xtraze xtraze is offline
Programming God
 
Join Date: Dec 2006
Location: Sri lanka
Posts: 921
Rep Power: 0
xtraze is on a distinguished road
Send a message via MSN to xtraze Send a message via Skype™ to xtraze
Default

But I thought you are MAD as I saw your Avatar,. lol
Just Joking, let's get back to the topic.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-09-2007, 07:16 PM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 19
Posts: 2,633
Last Blog:
Passwords
Rep Power: 20
John has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud of
Send a message via AIM to John
Default

I didnt think I would learn anything from reading a HTML tutorial but I never knew there was such thing as text emphasis. Nice one!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-11-2007, 05:14 PM
clookid's Avatar   
clookid clookid is offline
Programmer
 
Join Date: Jan 2007
Posts: 148
Rep Power: 7
clookid is on a distinguished road
Default

Thank you. The other day I thought the same about hyperlinks but I learnt that you can make 'em keyboard and click based by using the follow code:
Code:
<html>
<head>
<title>Page 1</title>
</head>

<body>
<p><a href="http://localhost/page2.html" accesskey="o">
       Hit key o</a> to open page 2.
</p>
</body>
</html>
It's worth a try! I hope you can make a use for it!

Last edited by clookid; 01-13-2007 at 05:00 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code:VB6.0 Basic HTML Editor TcM VB Tutorials 25 08-22-2008 11:51 AM
About HTML Onur Tutorials 0 08-28-2007 06:13 PM
HTML Introduction clookid Tutorials 5 01-08-2007 09:43 PM
What is HTML, DHTML and XHTML? Lop HTML Programming 5 08-09-2006 11:00 AM
Removing HTML from a String using ColdFusion roger ASP, ASP.NET and Coldfusion 0 05-11-2006 10:19 PM


All times are GMT -5. The time now is 01:41 PM.

Contest Stats

John ........ 223.00000
dargueta ........ 168.00000
Xav ........ 164.00000
gaylo565 ........ 18.00000
WingedPanther ........ 15.00000
|pH| ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 65%

Ads