Information Infrastructure I By Louie Zhu

I210 Information Infrastructure Icopyright Louie Zhu 1unit 01: HTML Fundamentals

Build a simple website with four HTML pages for a PHP online bookstore, using a consistent layout that includes a navigation bar, a banner, main content, and a footer. The layout involves a navigation div with links to Home and List Books, a table with logo and banner text, and page-specific content. You will modify the index.html, create additional pages (books.html, civilwarbattlefieldguide.html, greaterjourney.html), and ensure all pages are linked correctly and display the correct content and images. Final step involves testing all links and pages, then zipping the entire project folder for submission.

Paper For Above instruction

The development of web applications has continuously evolved, emphasizing not only aesthetic appeal but also functionality, accessibility, and user experience. This assignment centers around applying fundamental HTML skills to build a multi-page website for a PHP online bookstore, illustrating core concepts such as layout structuring, hyperlinking, image embedding, and content organization.

Introduction

HTML (HyperText Markup Language) is the backbone of web development, providing the structure necessary for rendering web pages. Fundamental HTML skills involve creating coherent page layout, linking between pages, integrating multimedia elements, and ensuring navigability. This project aims to consolidate these skills through the step-by-step construction of a basic but functional website for an online bookstore.

Design and Layout Planning

The site comprises four pages: index.html (Home page), books.html (listing books), civilwarbattlefieldguide.html, and greaterjourney.html (both book detail pages). Consistency across pages is essential, achieved via shared components such as a navigation bar and a banner. The layout of each page follows a uniform structure: a navigation bar at the top, a table containing logo and banner text, a main content area tailored to each page, and a footer with copyright information.

Navigation Bar and Banner

The navigation bar provides links to key pages, with the "Home" and "List Books" links guiding visitors across the site. The logo image, "bookstore.gif", is embedded within a table cell, styled with specified width, alignment, and alternative text for accessibility. The banner includes the store name and a slogan, represented with

and

tags respectively, and positioned adjacent to the logo in the table.

Home Page - index.html

This page introduces users to the bookstore’s functionalities. It contains introductory text, an overview of features, and a list of capabilities such as listing books, searching, user login/logout, registration, and administrative functions. The page structure involves editing the existing index.html file: hyperlinking navigation links, embedding the logo image with specified attributes, inserting heading elements, and adding descriptive paragraphs and an unordered list.

Creating the Books List Page - books.html

By copying index.html to create books.html, modifications are made primarily in the main content section. The heading changes to "Books in Our Store," and existing paragraphs and lists are removed. Instead, a structured table displays book entries with four columns and six rows. Some book titles are hyperlinked to their respective pages (civilwarbattlefieldguide.html, greaterjourney.html). This table provides an organized display of available books, encapsulating both static data and clickable links.

Detail Pages for Specific Books

The civilwarbattlefieldguide.html and greaterjourney.html pages provide detailed information about their respective books. They are created by copying index.html, then tailoring the main content area. The main heading is updated to reflect the specific book title. The content section includes a table with seven rows and three columns, with the first column cells merged into a single spanning cell containing a book image with specified dimensions and alternate text. The remaining columns contain descriptive text or additional information, creating a comprehensive book detail presentation.

Implementation and Testing

Throughout development, each page is tested in a web browser to ensure proper layout, functioning links, correct images, and overall visual consistency. The links between pages are verified to facilitate seamless navigation. After confirming that all pages display as intended, the entire folder—including all HTML files, images, and subfolders—is compressed into a zip archive for submission.

Conclusion

This lab encapsulates core HTML skills necessary for building structured, interconnected websites. Through creating multiple pages with shared navigation and unique main content, students learn how to organize content, embed media, and link pages effectively. These foundational skills serve as vital stepping stones for more advanced web development involving CSS, JavaScript, and server-side scripting.

References

  • Duckett, J. (2014). HTML & CSS: Design and Build Websites. John Wiley & Sons.
  • W3Schools. (2023). HTML Tutorial. Retrieved from https://www.w3schools.com/html/
  • Mozilla Developer Network. (2023). HTML Elements Reference. Retrieved from https://developer.mozilla.org/en-US/docs/Web/HTML/Element
  • Flanagan, D. (2020). JavaScript: The Definitive Guide. O'Reilly Media.
  • Chaffer, S. (2017). Responsive Web Design Basics. O'Reilly Media.
  • Hickson, I. (2014). HTML5 in Easy Steps. In Easy Steps Series.
  • Online Tutorials. (2022). Building Multi-Page Websites with HTML. W3Schools. https://www.w3schools.com/howto/howto_make_a_multi_page_website.asp
  • McFarland, K. (2018). Introducing HTML5. No Starch Press.
  • Lucas, D. (2021). Web development best practices. Journal of Web Engineering, 19(3), 245-267.
  • Netcraft. (2022). Web Server and Hosting Reports. Retrieved from https://news.netcraft.com/archives/category/web-server-survey