Login Register
MoHH2 Legendz

Legends of Medal of honor:Heores 2.. Never forgotten RiP in piece


    You are not connected. Please login or register

    View previous topic View next topic Go down  Message [Page 1 of 1]

    Post: #1Fri Jul 27, 2012 7:18 pm

    MąŤhęw$$ØIX

    MąŤhęw$$ØIX

    Senior Member


    Here is the first thing you need to know when creating a HTML web page.

    Part 1

    All HTML web pages pretty much start with this template and the rest of the page is built up off of it.
    Code:
    <html>
    <head>
    <title></title>
    </head>
    <body>
    </body>
    </html>


    Everything in between the html brackets is called a html "tag". (Ex. html, title, body)
    All tags also have a closing tag. (Ex. /html, /head, /body) They all have / before the tag if it is a closing tag.
    All tags can also can have attributes. (This will be explained later in the tutorial.)


    Part 2

    So exactly what goes in between the tags you may ask?..

    In between the "head" tags there is usually meta tags, site description, javascript coding, and other things that will no further be explained until later.

    Here is an Example of the head tags with content:
    Code:
    <html>
    <head>
    <script type='text/javascript' src='http://example.com/scripts/jquery-min.js'></script><script type="text/javascript" src="http://example.com/scripts/java.js"></script>
    <link rel="stylesheet" href="example.css" type="text/css" /><link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="Example" />
    <title></title>
    </head>
    <body>
    </body>
    </html>

    In between the "title" tags goes the title of your website. (This title appears at the top of the browser.)
    I don't really believe the title tags have to go in between the head tags, but that is just what I have always done.

    Here is an Example of the title tags with content:
    Code:
    <html>
    <head>
    <title>Example Title</title>
    </head>
    <body>
    </body>
    </html>

    In between the "body" tags goes the actual content of your web page. Everything in between these tags will actually show up on your web page. By the way, no ENTER spaces will be shown you must use the "br" tag, which is a tag for a link break. One br tag moves the text to a new line, two br tags puts a blank line in between the two lines of text.

    Here is an Example of the body tags with content:
    Code:
    <html>
    <head>
    <title></title>
    </head>
    <body>
    This is Example page text and will show up on the web page. <br> This tutorial is by mathewss09 <br><br> This text is on a completely new line.
    </body>
    </html>

    Last, but not least, would be the "html" tags. These tags pretty much just define the file as an html document and everything on the web page should go in between these tags.



    Part 3
    COMING SOON...


    http://mssnetwork.tk

    View previous topic View next topic Back to top  Message [Page 1 of 1]

    Permissions in this forum:
    You cannot reply to topics in this forum