how do you use HTML code?

i know u can make a page on note pad using HTML code but how do i do that? i forgot how. and how do u see it as a web page?

Comments

  • You would use these tags to create a web page

    <html>

    <head>

    <title>Put whatever title you want for the page</title>

    </head>

    <body>

    Here you will be adding anything you want on the page like paragraphs, text, etc...

    </body>

    </html>

    Don't forget to close your tags :)

    Then just save it as a .html file

    And to see it as a web page, just double click on the file.

    Hope this helped

  • html runs off of pair tags. like <body> </body> that would be the middle of the webpage some html i know is:

    <p> </p> (paragraph)

    <b> </b> Bold

    <i> </i> Italics

    <href> specifies the url of the page to which the link connects.

    <h1 to <h6> </h1 to /h6>

    <title> </title>

    you type them in wordpad or notepad then save them with the .html extension. then open them in you brower. i have a master visually web page book of you want a copy of the page with the html send me a line at [email protected]

    Thanks!

  • Make the codes in notepad, wordpad or whatever you want, then go to save as and put .html extension to the file. Then just double click it and it will be opened in internet explorer, firefox(depending on what you use). Here a simple example of a code.

    <html>

    <head>

    <title>Simple example</title>

    </head>

    <body>

    <p>This is a paragraph</p>

    <b>This text is bold</b><br>

    <u>This text has underline</u><br>

    <i>This text is italic</i><br>

    <b><u><i>This text has it all</i></u></b>

    <p>Brake means a new line</p>

    <a href="go/" rel="nofollow">http://www.google.com">go/ to Google!</a>

    <center>This text will be centered</center>

    This is a normal text

    <table>

    <tr><td><b>Name</b></td><td><b>Lastname</b></td></tr>

    <tr><td>Jack</td><td>Pack</td></tr>

    <tr><td>John</td><td>Smith</td></tr>

    </table>

    </body>

    </html>

  • after putting the codes on notepad,

    click "save as..." and for example, the filename is 'myhtml"

    just type this as it`s name : myhtml.html and there it is.

Sign In or Register to comment.