Building Your Own Web Site

770 views

Published on

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
770
On SlideShare
0
From Embeds
0
Number of Embeds
50
Actions
Shares
0
Downloads
17
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Building Your Own Web Site

  1. 1. Building Your Own Web Site
  2. 2. Objectives <ul><li>Create and publish a Web site </li></ul><ul><li>Write HTML code </li></ul><ul><li>Use resources to help build a Web site </li></ul><ul><li>Use HTML authoring tools </li></ul>
  3. 3. Creating a Simple Web Site from Beginning to End <ul><li>Creating a Web site is a three-step process: </li></ul><ul><ul><li>Create the Web page files. This includes the Web page and any additional multimedia content, such as an image file, sound file, or movie file. </li></ul></ul><ul><ul><li>View and modify the Web page. </li></ul></ul><ul><ul><li>Publish the Web site by copying these files to a Web server. </li></ul></ul>
  4. 4. Creating a Simple Web Site from Beginning to End (Continued) <ul><li>To publish your Web site, you need access to storage space on a Web server. </li></ul><ul><li>The Web server that stores your Web site files is known as your Web host . </li></ul>
  5. 5. Creating a Web Page <ul><li>Using HTML, you can create a dynamic Web page that contains small and large text, hyperlinks to other Web sites, and even an image. </li></ul><ul><li>You can create your Web page using a text editor, such as Notepad or WordPad. </li></ul><ul><li>Although many other tools are available to create and publish Web pages, for your first effort, you use the tools that are common to every computer. </li></ul><ul><li>Notepad to create the Web page file and an FTP utility to publish the file to a Web host. </li></ul>
  6. 6. Publishing the Web Site <ul><li>When you publish a Web site, you copy all the pages and supplemental files needed to build the Web site to the Server. </li></ul><ul><li>To copy files to a server, you need: </li></ul><ul><ul><li>The domain name or IP address of the Web server where your Web site will reside </li></ul></ul><ul><ul><li>A user ID and password that gives you access to the server and your folder </li></ul></ul><ul><ul><li>The Web site file or files, and any supporting graphic files </li></ul></ul><ul><ul><li>Software to transport files from your computer to the server </li></ul></ul>
  7. 7. HTML Structure <ul><li>An HTML document is divided into two-parts, the header and the body. </li></ul><ul><li>The header contains information about the document, such as the editor that created it, and keywords that help a search engine find it. </li></ul><ul><li>Interspersed throughout the header and body are instructions. </li></ul><ul><li>Unlike the text and graphics, these instructions are not displayed by the browser. </li></ul>
  8. 8. HTML Structure (Continued) <ul><li>HTML is interpreted and executed by the browser. </li></ul><ul><li>HTML instructions are called tags. </li></ul><ul><li>Most tags consist of a keyword. </li></ul><ul><li>An example of a keyword is head . </li></ul><ul><li>HTML tags are not case sensitive. </li></ul><ul><li>You can embed one pair of tags within another pair of tags. </li></ul>
  9. 9. HTML Structure (Continued) <ul><li>All HTML documents should contain at least the following three sets of tags: </li></ul><ul><ul><li><html></html> </li></ul></ul><ul><ul><li><head></head> </li></ul></ul><ul><ul><li><body></body> </li></ul></ul><ul><li>An attribute allows you to specify how an HTML tag behaves. </li></ul>
  10. 10. HTML : Using Headings <ul><li>Headings and tags assign a predetermined style to text in an HTML document and are used to enhance the appearance of the document. </li></ul><ul><li>Use headings tags to format and set off a title or subtitle on a page and to emphasize important text. </li></ul>
  11. 11. HTML : Using Graphics <ul><li>Graphics, including photographs, clip art, background patterns, and artistic fonts, also are important elements of Web page design. </li></ul><ul><li>Three popular types of graphic files: </li></ul><ul><ul><li>JPG </li></ul></ul><ul><ul><li>JIF </li></ul></ul><ul><ul><li>PNG </li></ul></ul>
  12. 12. HTML : Organizing Files on a Web Site <ul><li>Keeping all your Web site files in one folder can make managing those files difficult, especially when the Web site is complex. </li></ul><ul><li>If you are planning a large site, you need to plan the folder structure before you start creating the Web site. </li></ul><ul><li>In the top, or root folder, put the home page ( index.htm , default.html, or some other name, depending on the requirements of the Web server). </li></ul><ul><li>All other folders should be stored in this main folder. </li></ul>
  13. 13. HTML : Using Hyperlinks to Point to Other Web Sites <ul><li>One nice thing about hyperlinks is that you can use them to point to other HTML files, either on the same Web site or on a different site. </li></ul><ul><li>The anchor tag , <a>, is a tag that marks a link to another part of the same document or to another document. </li></ul><ul><li>The tag must be used with an attribute; the most common attribute used with the <a> tag is href . </li></ul>
  14. 14. HTML : Using a Graphic as a Hyperlink <ul><li>A graphic can also be used as a hyperlink. </li></ul><ul><li>Instead of entering text in the anchor tag, you simply enter the <img> tag for the graphic. </li></ul><ul><li>Example: </li></ul>
  15. 15. HTML : Using Hyperlinks to Point to Locations Within One Document <ul><li>To create a hyperlink that links to another point in the same HTML file, you need two anchor tags: one for the hyperlink itself and a second anchor tag that marks the destination place in the Web page. </li></ul><ul><li>The second anchor tag is called the link target, destination anchor tag , or the jump link . </li></ul>
  16. 16. HTML : Creating Links That Point to Other Pages on the Same Web Site <ul><li>A hyperlink that points to a different file on the same site needs an anchor tag that contains the name of the HTML file that is the destination, or jump link. </li></ul>
  17. 17. HTML : Using HTML Tables <ul><li>Web pages commonly make use of tables as convenient methods of organizing information. </li></ul><ul><li>A browser displays a table as a set of rows and columns. </li></ul>
  18. 18. HTML : Using HTML Tables
  19. 19. HTML : Creating HTML Forms for Data Input <ul><li>It’s often necessary to have your Web page collect data from the user and transfer it back to the Web server, or send it to you or someone else through e-mail. </li></ul><ul><li>To accomplish this, you need to create a form , which is an HTML element that allows a Web page to collect data and send it back to the Web server or an e-mail recipient. </li></ul><ul><li>A form can use standard Windows elements, such as text boxes, check boxes, radio buttons, drop-down lists, and other elements to collect data. </li></ul>
  20. 20. HTML : Testing Your Site <ul><li>You should always test your Web site before you publish it. </li></ul><ul><li>Start by testing all the hyperlinks. </li></ul><ul><li>Be certain to test every hyperlink on every page to make certain that each link jumps to the correct location. </li></ul><ul><li>In addition to testing hyperlinks, you need to check the appearance of your Web page using different Web browsers in varying versions, and ensure your Web page doesn’t take too long to download. </li></ul>
  21. 21. HTML: Testing Your Site (Continued) <ul><li>Testing Various Browsers and Screen Resolutions </li></ul><ul><li>Web browsers interpret HTML in ways that are subtly unique. </li></ul><ul><li>In addition, individual settings such as screen resolution can dramatically affect the way a Web page looks. </li></ul><ul><li>Calculating Download Rates </li></ul><ul><li>Bandwidth is the speed at which data is transmitted, usually measured in bits per second. </li></ul>
  22. 22. HTML: Testing Your Site (Continued) <ul><li>If your Web page takes a long time to download, users will get frustrated and not view your page. </li></ul><ul><li>Every communication, every instruction, and every piece of data in a computer can be reduced to a series of zeroes and ones. </li></ul><ul><li>The term bit refers to a state, either On (one) or Off (zero). </li></ul>
  23. 23. HTML: Testing Your Site (Continued) <ul><li>The following list summarizes information about bits and bytes: </li></ul><ul><ul><li>A bit is either a 0 or a 1 </li></ul></ul><ul><ul><li>1,024 bits = 1 kilobit (1 Kb) </li></ul></ul><ul><ul><li>8 bits = 1 byte </li></ul></ul><ul><ul><li>1,024 bytes = 1 kilobyte (1 KB) </li></ul></ul><ul><ul><li>1,024 kilobytes = 1 megabyte (1 MB) </li></ul></ul><ul><ul><li>1,024 megabytes = 1 gigabyte (1 GB) </li></ul></ul>
  24. 24. Resources to Help You Develop Web Design Skills <ul><li>Check out these sites, which have much to offer to both the novice and the expert and also offer some free graphics and photos: </li></ul><ul><ul><li>HTML Help by the Web Design Group at www.htmlhelp.com </li></ul></ul><ul><ul><li>CNET Web Building at builder.com and www.cnet.com </li></ul></ul><ul><ul><li>Web Developer’s Virtual Library at www.wdvl.com </li></ul></ul><ul><ul><li>Refer to page 103 for the remainder of this list. </li></ul></ul>
  25. 25. Using a Simple HTML Code-Based Editor <ul><li>Many good code-based HTML editors are available. </li></ul><ul><li>CuteHTML can be downloaded from the Web site www.globalscape.com , www.download.com , or www.cutehtml.com . </li></ul><ul><li>You can download a free evaluation version that works for 30 days. </li></ul>
  26. 26. Introducing Microsoft FrontPage <ul><li>If you have access to Microsoft FrontPage, you should complete the steps listed in the text to create the index.html file. </li></ul><ul><li>Refer to pages 104 through 110 for the procedures to create the index.htm file in FrontPage. </li></ul>
  27. 27. Macromedia Dreamweaver <ul><li>Dreamweaver, by Macromedia, is a favorite WYSIWYG HTML editor for professionals. </li></ul><ul><li>Pages created in Dreamweaver can be customized using JavaScript, and HTML. </li></ul><ul><li>You can edit tags manually in design view without using the HTML editing window or an external HTML editor. </li></ul>
  28. 28. Macromedia HomeSite <ul><li>HomeSite, by Macromedia, is an HTML editor that began as a shareware program and has evolved to become one of the most popular code-based HTML editors on the market. </li></ul><ul><li>Beginners find it easy to master and it also is popular with more advanced users. </li></ul>
  29. 29. NetObjects Fusion <ul><li>NetObjects Fusion is a good tool for those who have little HTML experience, but who want to produce a Web site quickly without having to deal with HTML code. </li></ul><ul><li>NetObjects Fusion is not as popular with experienced HTML users. </li></ul>
  30. 30. Adobe GoLive <ul><li>GoLive, by Adobe, is available for both Macintosh and Windows systems. </li></ul><ul><li>The interface is easy to use in its presentation of basic HTML functions, but not as simple when creating style sheets. </li></ul>
  31. 31. CuteHTML <ul><li>It’s an easy-to-use, code-based HTML editor that offers color-coded tags and help when entering tags. </li></ul><ul><li>When you begin to type a tag, a drop-down list of tags opens. </li></ul><ul><li>When you select a tag, a drop-down list of attributes for that tag opens. </li></ul>
  32. 32. 1 st Page 2000 <ul><li>1 st Page 2000, by Eversoft Inc., is a free HTML editor that offers four modes of use: Easy, Normal, Expert, and Hardcore. </li></ul>
  33. 33. Summary <ul><li>A Web Site requires hard drive storage space on a Web server, together with an account and password to the server to be published. </li></ul><ul><li>HTML contains instructions called tags that are enclosed in angle brackets. </li></ul><ul><li>Three types of graphic files supported by the Internet are JPEG, for photographs, and PNG, and GIF files for clip art. </li></ul>
  34. 34. Summary (Continued) <ul><li>Hyperlinks are created using the HTML anchor tags <a>. </li></ul><ul><li>An HTML form receives user input that can be e-mailed to a recipient or sent back to the Web server for processing. </li></ul><ul><li>HTML editors are of two types: code-based and graphical (also known as WYSIWYG). </li></ul>

×