Jump to content

Recommended Posts

Posted

How to make a simple website.

 

Before we start. You just need Notepad open.

 

Tips:

 

  • You must always start with this code: <HTML> and end with </HTML> or else nothing will appear.

  • When you finish with your project save it as example.html

  • When you press Enter in your notepad the browser will ignore it.

  • The codes you must use I will mark them with red color.

 

 

Ok, Let's start...

 


 

Lessons 11: Background Color

 


 

<HTML>

<HEAD>

<TITLE>Lesson 11</TITLE>

</HEAD>

 

<BODY BGcolor="red">

Background colored red. You can use another color if you want, special.

Get in Google and find some Color Hex Codes.

You must write BGcolor="#ff12ff"

</BODY>

</HTML>

 


 

Lesson 12: Hypertexts

 


 

<HTML>

<HEAD>

<TITLE>Lesson 12</TITLE>

</HEAD>

 

<BODY>

This link will take you to an <a href="http://www.Royal Projects.us/">Awesome Website</a>

on World Wide Web(WWW)

<BR>

This link will take you a <a href="forum.html">page</a> on your Website.

</BODY>

</HTML>

 


 

Lesson 13: Image - Link

 


 

<HTML>

<HEAD>

<TITLE>Lesson 13</TITLE>

</HEAD>

 

<BODY>

<a href="http://www.royalprojects.us/">

<img src="http://www.sevensheaven.nl/images/producten/illustration-illustratie_smiley-emoticon_04.jpg" alt="Lesson 13" width="100" height="100" />

</a>This image have a border around.

 

<a href="http://www.royalprojects.us/">

<img border="0"src="http://www.sevensheaven.nl/images/producten/illustration-illustratie_smiley-emoticon_04.jpg" alt="Lesson 13" width="100" height="100" />

</a>This image have not a border around.

</BODY>

</HTML>

 


 

Lessons 14: New Browser Window

 


 

<HTML>

<HEAD>

<TITLE>Lesson 14</TITLE>

</HEAD>

 

<BODY>

<a href="http://www.royalprojects.us" target="_blank">New Tab, huh?</a>

 

</BODY>

</HTML>

 


 

Lesson 15: Get to another part of the current page.

 


 

<HTML>

<HEAD>

<TITLE>Lesson 14</TITLE>

</HEAD>

 

<BODY>

<a href="#C2">Take care of Part 2</a><br>

<a href="#C5">Send to a friend the Part 5</a><br>

<a href="#C12">Take a look at Part 12</a><br>

<br><br>

Part 1

Blah Blah Blah<br>

Blah Blah Blah<br>

Blah Blah Blah<br>

<br><br><br>

<a name="C2"><h1>Part 2</h1></a>

Blah Blah Blah<br>

Blah Blah Blah<br>

Blah Blah Blah<br>

<br><br><br>

Part 3

Blah Blah Blah<br>

Blah Blah Blah<br>

Blah Blah Blah<br>

<br><br><br>

Part 4

Blah Blah Blah<br>

Blah Blah Blah<br>

Blah Blah Blah<br>

<br><br><br>

<a name="C5"><h1>Part 5</h1></a>

Blah Blah Blah<br>

Blah Blah Blah<br>

Blah Blah Blah<br>

<br><br><br>

Part 6

Blah Blah Blah<br>

Blah Blah Blah<br>

Blah Blah Blah<br>

<br><br><br>

Part 7

Blah Blah Blah<br>

Blah Blah Blah<br>

Blah Blah Blah<br>

<br><br><br>

Part 8

Blah Blah Blah<br>

Blah Blah Blah<br>

Blah Blah Blah<br>

<br><br><br>

Part 9

Blah Blah Blah<br>

Blah Blah Blah<br>

Blah Blah Blah<br>

<br><br><br>

Part 10

Blah Blah Blah<br>

Blah Blah Blah<br>

Blah Blah Blah<br>

<br><br><br>

Part 11

Blah Blah Blah<br>

Blah Blah Blah<br>

Blah Blah Blah<br>

<br><br><br>

<a name="C12"><h1>Part 12</h1></a>

Blah Blah Blah<br>

Blah Blah Blah<br>

Blah Blah Blah<br>

</BODY>

</HTML>

 


 

Lesson 15: Vertical and Horizontal Frameset (It's like you have as many as you want websites in your site)

Tip:

  • You don't need <BODY></BODY> here.

  • If you want to have Verical and Horizontal togethere after you finish with Vertical start typing for Horizontal without using </frameset>
    (e.x: <frameset cols="50%,50%">
    <frame set rows="50%,50%">

 


 

<HTML>

<HEAD>

<TITLE>Lesson 14</TITLE>

</HEAD>

 

<frameset cols="50%,50%">

 

 <frame src="http://www.maxcheaters.com">

 <frame src="http://www.royalprojects.us">

 

</frameset>

</HTML>

 


 

<HTML>

<HEAD>

<TITLE>Lesson 15</TITLE>

</HEAD>

 

<frameset rows="50%,50%">

 

 <frame src="http://www.maxcheaters.com">

 <frame src="http://www.royalprojects.us">

 

</frameset>

</HTML>

 


 

Lesson 16: Navigation Frame

 


 

<HTML>

<HEAD>

<TITLE>Lesson 16</TITLE>

</HEAD>

 

<frameset cols="120,*">

 

<frame src="http://www.google.com/">

<frame src="http://www.royalprojects.us/"

name="showframe">

 

</frameset>

 

</HTML>

 


 

Lesson 17: A slamm frame inside your website.

Tip:


  • [liHere we can use body.]

 


 

<HTML>

<HEAD>

<TITLE>Lesson 17</TITLE>

</HEAD>

 

<BODY>

<iframe src="http://www.royalprojects.us"></iframe>

 

</BODY>

</HTML>

 


 

Lesson 18: How to make tables

Tips:


  • [li<TR>Are the lines Horizontal
    <TD> Are the lines Vertical]

 


 

<HTML>

<HEAD>

<TITLE>Lesson 19</TITLE>

</HEAD>

 

<BODY>

<Table BGcolor="yellow" Width=400 Align="Left" border=2 BorderColor="black" Cellpadding=3 Cellspacing=0>

<TR>

<TD>Lesson 14</TD><TD>Lesson 14</TD><TD>Lesson 14</TD>

</TR>

<TR>

<TD>Lesson 14</TD><TD>Lesson 14</TD><TD>Lesson 14</TD>

</TR>

<TR>

<TD>Lesson 14</TD><TD>Lesson 14</TD><TD>Lesson 14</TD>

</TR>

<TR>

<TD>Lesson 14</TD><TD>Lesson 14</TD><TD>Lesson 14</TD>

</TR>

<TR>

<TD>Lesson 14</TD><TD>Lesson 14</TD><TD>Lesson 14</TD>

</TR>

</TABLE>

</BODY>

</HTML>

 


 

Lesson 20:  Add Color or Image behind the table or the sell.

 


 

<HTML>

<HEAD>

<TITLE>Lesson 20</TITLE>

</HEAD>

 

<BODY>

 

<Table background="http://www.sevensheaven.nl/images/producten/illustration-illustratie_smiley-emoticon_04.jpg" Width=400 Align="Left" border=2 BorderColor="black" Cellpadding=3 Cellspacing=0>

<TR>

<TD>Lesson 19</TD><TD>Lesson 19</TD><TD>Lesson 19</TD>

</TR>

<TR>

<TD>Lesson 19</TD><TD>Lesson 19</TD><TD>Lesson 19</TD>

</TR>

<TR>

<TD>Lesson 19</TD><TD>Lesson 19</TD><TD>Lesson 19</TD>

</TR>

<TR>

<TD>Lesson 19</TD><TD>Lesson 19</TD><TD>Lesson 19</TD>

</TR>

<TR>

<TD>Lesson 19</TD><TD>Lesson 19</TD><TD>Lesson 19</TD>

</TR>

</TABLE>

 

</BODY>

</HTML>

 


 

Well, I am done. Time spending: 2 hours 30 minutes.

The other lessons will be in another topic.

 

-ProJecT

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..