3.Learning the basic of HTML


1.     What is HTML?
-       stands for Hypertext Markup Language
-       defines a set of common styles for web pages: headings, paragraphs, lists, tables etc.
2.     Structuring Your HTML
<html>
      <head>
                   <title>Page Title</title>
      </head>
                  <body> ...your page content... </body>
</html>

3.     Headings
-       used to add titles to sections of a page
Example:
<h1>Movies</h1>
<h2>Action/Adventure</h2>
     <h3>Caper</h3>
    <h3>Sports</h3>           
<h2>Drama</h2>
     <h3>Buddy Movies</h3>
     <h3>Mystery</h3>
     <h3>Romance</h3>

4.     Paragraph
<p>Slowly and deliberately, Enigern approached the mighty dragon. A rustle in the trees of the nearby forest distracted his attention for a brief moment, a near fatal mistake for the brave knight.</p>

5.     List
-       Unordered list
<p>Dante's Divine Comedy consists of three books:</p>
   <ul>
      <li>The Inferno</li>
     <li>The Purgatorio</li>
     <li>The Paradiso</li>
    </ul>

-       Ordered list
<p>Installing Your New Operating System</p>
 <ol>
                <li>Insert the CD-ROM into your CD-ROM drive.</li>
    <li>Choose RUN.</li>
    <li>Enter the drive letter of your CD-ROM (example: D:\), followed by SETUP.EXE.</li>
    <li>Follow the prompts in the setup program.</li>
    <li>Reboot your computer after all files are installed.</li>
    <li>Cross your fingers.</li>
</ol>

6.     Comment
<!-- This is a comment -->

No comments:

Post a Comment