1 / 16

Introduction to HTML: Structure and Basic Tags for Web Development

This guide by Derk Adams introduces the essential concepts of HTML, covering markup versus programming, tag structures, and the significance of case sensitivity and white space. You'll learn how to create a simple web page with the necessary document tags, including <html>, <head>, and <body>. Explore how to utilize elements like titles, metatags, and color structures, and understand how to format text, create links, and add images. Perfect for beginners looking to grasp the fundamentals of HTML to start their web development journey.

umay
Télécharger la présentation

Introduction to HTML: Structure and Basic Tags for Web Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Basic HTML UCR Webmasters Support Group Derk Adams

  2. Hyper-Text Markup Language. Markup vs. Programming. Tags < > Tag Case. White Space. What is HTML

  3. First Page. index.html default.htm Welcome.html Choosing Names. Case Sensitivity. Getting Started

  4. Document Tags • HTML <html> </html> • Header <head> </head> • Body <body> </body> • <html> • <head> • </head> • <body> • </body> • </html>

  5. Header • Title <title> </title> • Metatags. • JavaScript. • CSS. <html> <head> <title>My Page</title> </head> <body> </body> </html>

  6. Common names: red, blue, green. Hexadecimal: ff0000, 0000ff, 00ff00. Hex counting: 0-16 -> 0-f. Color Structure: rrggbb 000000 Color

  7. Body • Background Color: bgcolor=“” • Text Color: text=“” • Link Color: link=“” • Visited Link Color: vlink=“” <html> <head> <title>My Page</title> </head> <body bgcolor=“000000” text=“ffffff”> This is my first Page. </body> </html>

  8. References • Absolute Reference • http://www.ucr.edu/alpha.html • Relative Reference • alpha.html

  9. Spacing • Line Break <br> • Paragraph <p></p> • Horizontal Rule <hr> <html> <head> <title>My Page</title> </head> <body bgcolor=“000000” text=“ffffff”> <p>This is my first Page.</p> </body> </html>

  10. Text Formatting • Bold <b> </b> • Italics <i> </i> • Center <center> </center> <html> <head> <title>My Page</title> </head> <body bgcolor=“000000” text=“ffffff”> <p><b>This is my first Page.</b></p> </body> </html>

  11. Structure <h1></h1> to <h6></h6> <html> <head> <title>My Page</title> </head> <body bgcolor=“000000” text=“ffffff”> <h1>My First Page</h1> <p><b>This is my first Page.</b></p> </body> </html>

  12. Links <a href=“”>Link Text</a> <html> <head> <title>My Page</title> </head> <body bgcolor=“000000” text=“ffffff”> <h1>My First Page</h1> <p><b>This is my first Page.</b></p> <a href=“http://www.ucr.edu/alpha.html”>My first link<a> </body> </html>

  13. Images <img src=“” width=“” height=“” alt=“”> <html> <head> <title>My Page</title> </head> <body bgcolor=“000000” text=“ffffff”> <h1>My First Page</h1> <p><b>This is my first Page.</b></p> <a href=“http://www.ucr.edu/alpha.html”>My first link<a><br> <img src=“http://www.ucr.edu/images/design4/title.gif” width=“464” height=“98” alt=“University of California, Riverside”> </body> </html>

  14. Questions?

  15. Bullets • Unordered List (bullets): <ul></ul> • Ordered List (numbers/letters): <ol></ol> • Line Items: <li></li> • Definition List: <dl></dl> • Definition Term: <dt></dt> • Definition Items: <dd></dd>

  16. Bullets <ol> <li>Item 1</li> <li> Item 2</li> </ol> <ul> <li>Item 1</li> <li> Item 2</li> </ul> <dl> <dt>Item 1</dt> <dd> Item 2</dd> </dl>

More Related