Skip to content

This is a simple HTML, CSS and XML based website for a bookshop, using HTML, CSS and XML, with DTD and XSLT used for formatting a data structure.

Notifications You must be signed in to change notification settings

morganmdx/XML-Bookshop-Website

Repository files navigation

Bookshop Website

This is a simple HTML, CSS and XML based website for a bookshop. The main page contains general information about the bookshop, such as the address, contact details, and opening times. The page includes a paragraph, a list of book genres, and a table for the opening hours. A list of books are retrieved from the XML data structure - DTD and XSLT used for formatting.

Tech Stack

HTML CSS XML

Features

  • Paragraph: A brief introduction to the bookshop.
  • List: Displays the main book genres available.
  • Table: Shows the opening times of the bookshop.
  • Contact Information: Includes the address and contact details of the bookshop.

Project Structure

  • main.html - Main webpage containing:

    • Introduction to the bookshop (paragraph)
    • List of main genres (list)
    • Bookshop opening hours (table)
    • Contact information (address, phone number, and email)
  • style.css - CSS file for styling the HTML webpage.

  • books.xml - XML file for storing data.

  • books.dtd - The data structure for the XML page.

  • books.xslt - Create XSL template with stylesheet to make the front-end page look pretty.

How to Run

  1. Clone this repository:
    git clone https://github.com/morganmdx/htmlcoursework.git
    cd htmlcoursework
    

Development

To make edits to the project, simply modify the main.html file and adjust the layout or content as required. You can add styling using style.css or interactivity using script.js if desired. If needed, the data.xml file can be used to store additional data.

License

This project is licensed under the MIT License. License is subject to change. This website was produced for academic and educational purposes. See the LICENSE file for more details.

About

This is a simple HTML, CSS and XML based website for a bookshop, using HTML, CSS and XML, with DTD and XSLT used for formatting a data structure.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published