Introduction to HTML

Introduction to HTML

<p> Introduction to HTML</p><p>HTML stands for Hyper Text Markup Language.</p><p>Any .txt application, like Notepad, can be used to make web pages.</p><p>All html pages begin with <html> and end with </html>. This is the very first and the very last thing you should have when you make a web page.</p><p>All web pages are divided into two sections: a head and a body section. The information in the heading is generally used for “behind-the-scenes” stuff while the body is what you see when you visit a web page.</p><p>A header can include things like keywords (things search engines use to find your page), the title of your page, the scripting language used in your page, style sheet information and so forth. The beginning of the header is <head> and ends with </head>.</p><p>Inside a header:</p><p>Title- the title of your page. This is the thing seen at the top of your browser. Begins with <title> and ends with </title>. Title</p><p>Keywords- In order to allow your website to be found by search engines, you may wish to include keywords. The command for keywords is:</p><p><meta name="keywords" content="Vance, Lynch"></p><p>This entry would allow search engines to return your web page when the words “Vance” or “Lynch” are searched. You can have as many words as you like. For now, this is all we will include in the head section. So a typical notepad entry might look like:</p><p><html> <head> <title>My home page</title> <meta name="keywords" content="Vance, Lynch"> </head></p><p>Notice there is no closing tag for the <html> command because we haven’t begun the body yet.</p><p>Inside the body:</p><p>To begin the body section, use <body> and to end it, use </body>.</p><p>Each new paragraph begins with a <p> and ends with a </p>.</p><p>To make a hyperlink, you always include the whole URL. The format for a hyperlink is:</p><p><a href=”http://www.google.com”>Google!</a></p><p>Beginning URL Text to display End of tag</p><p>If you have a picture, the code to display a picture is:</p><p></p><p>You must include quotation marks and there can’t be a space before or after the = sign. There is no closing tag for a picture or image.</p><p>A typical body:</p><p><body> <p>Hello, my name is Mr. Lynch</p> <p>It is nice to meet you!</p> <p>Check out my link to Google</p> <p><a href="http://www.google.com">Google!</a> <p>Check out my picture!</p> <p></p> </body> </html> Put it all together:</p><p><html> <head> <title>My Home Page</title> <meta name="keywords" content="Vance, Lynch"> </head></p><p><body> <p>Hello, my name is Mr. Lynch</p> <p>It is nice to meet you!</p> <p>Check out my link to Google</p> <p><a href="http://www.google.com">Google!</a> <p>Check out my picture!</p> <p></p> </body> </html></p><p>Do a “save as.” Switch the format from .txt to “all formats.” Type in a name for the file and add “.html” to the end of it.</p><p>Your assignment: </p><p>FIRST: Create a new folder on the desktop. Name it. All future work, this and all future assignments, will be saved in here. This keeps all of your work in one place.</p><p>SECOND: Create a working web page that has 2 functional links and one image. Swipe an image off the Internet (or use one of your pictures from the photoshop project), save it in your new folder, and link to it in your html practice page.</p><p>Coming up soon: Color and tables.</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    3 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us