Would you like to react to this message? Create an account in a few clicks or log in to continue.


  • Post new topic
  • Reply to topic

Teaching HTML

Davdub
Davdub
member
member


Registration date : 2009-12-19

Teaching HTML Empty Teaching HTML

Post by Davdub June 10th 2012, 6:44 pm

<span style="background-color:violet"><b>HTML Tutorial</b></span>

<ul><li>This HTML Tutorial is for beginners. It teaches you HTML from the ground up - starting with the basics. Coding HTML is actually quite easy - as this tutorial will show you.</li>
<li>There's a lot of information in this tutorial, so I recommend you take your time and cover off a little bit each day. Don't worry if it takes you several days to complete - it's better to fully understand everything than to brush over it and not fully comprehend it.</tr></li>

I suggest that you bookmark this tutorial now, then continue on.

HTML, which stands for HyperText Markup Language, is a markup language used to create web pages. The web developer uses "HTML tags" to format different parts of the document. For example, you use HTML tags to specify headings, paragraphs, lists, tables, images and much more.

HTML is a subset of Standard Generalized Markup Language (SGML) and is specified by the World Wide Web Consortium (W3C)


You don't need any special equipment or software to create HTML. In fact, you probably already have everything you need. Here is what you need:

Computer
Text or HTML editor. Most computers already have a text editor and you can easily create HTML files using a text editor. Having said that, there are definite benefits to be gained in downloading an HTML editor.

If you want the best HTML editor, and you don't mind paying money for it, you can't go past Adobe Dreamweaver. Dreamweaver is probably the best HTML editor available, and you can download a trial version for starters.

If you don't have the cash to purchase an editor, you can always download a free one. Examples include SeaMonkey, Coffee Cup (Windows) and TextPad (Windows).

If you don't have an HTML editor, and you don't want to download one just now, a text editor is fine. Most computers already have a text editor. Examples of text editors include Notepad (for Windows), Pico (for Linux), or Simpletext/Text Edit/Text Wrangler (Mac).
Web Browser. For example, Internet Explorer or Firefox.

Do I need to be online?

No, you do not need to be online to create web pages. You can create web pages on your local machine. You only need to go online when you want to publish your web page to the web - this bit comes later.

The next lesson will show you how to create a web page in less than 5 minutes

<table border="1">
<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
</tr>
</table>



You'll notice that we added a border attribute to the table tag. This particular attribute allows us to specify how thick the border will be. If we don't want a border we can specify 0 (zero). Other common attributes you can use with your table tag include width, width, cellspacing and cellpadding.

You can also add attributes to the tr and td tags. For example, you can specify the width of each table cell.

Widths can be specified in either pixels or percentages. Specifying the width in pixels allows you to specify an exact width. Percentages allows the table to "grow" or "shrink" depending on what else is on the page and how wide the browser is.

HTML Code:

<table border="1" cellpadding="5" cellspacing="5" width="100%">
<tr>
<td width="20%">Table cell 1</td>
<td>Table cell 2</td>
</tr>
</table
  • Post new topic
  • Reply to topic

Current date/time is November 15th 2024, 3:46 am