HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  

Share | 
 

 Tutorial: First Webpage

View previous topic View next topic Go down 
AuthorMessage
pencillio
Administrator
Administrator


Posts : 8
Join date : 2008-06-14
Age : 23

PostSubject: Tutorial: First Webpage   Sat Jun 14, 2008 9:48 pm

The source code


Code:

<html>
<!-- First Webpage in HTML -->
<title>Hello World!</title>
<body>
<h2>Hello World!</h2>
<hr>
<p>This is a webpage!</p>
<hr>
</body>
</html>

What does it all mean?


HTML works around things called tags. These start with <tagname> and end with </tagname>. The ones used in this example are:

<html> - Indicates that what follows is HTML code
<title> - Appears as the page title
<body> - The main body of the webpage
<h2> - Creates a heading, bigger than normal text
<hr> - Draw a horizontal rule
<p> - New paragraph

Also note the way comments are formed, in the second line. These do not appear on the page.

How do I view the page?


Easy. Open up notepad, enter the code, and save as 'webpage.htm'. There are special HTML editing programs, but notepad will do for now!
Back to top Go down
View user profile http://www.theorganpipescom
 
Tutorial: First Webpage
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Great Tank and Weathering tutorial
» Power Sword Tutorial (with more to follow)
» Instant Mold Tutorial
» good c++ tutorial series
» After Effects Tutorial - Organic Cell Edges

Permissions in this forum:You cannot reply to topics in this forum
The Organ Pipes :: Programming :: HTML-
Jump to: