Pankaj Shah web agency director in London with over 20 years of experience in web design and project management

I hope you enjoy reading our blog posts.

If you want DCP to build you an awesome website, click here.

HTML5 & CSS3 – Beginners Tutorial – Part 15 – [ Build a simple HTML5 Page Tutorial ]

In this tutorial, we explore the basics of HTML5 and CSS3 by creating a simple webpage about the Andromeda Galaxy. We cover directory structure, HTML elements, image handling, and embedding videos and maps, ensuring a comprehensive understanding of web development fundamentals.

Welcome to part 15 of the Web Design HTML5 and CSS3 beginners tutorial. In this session, we will review what we’ve learned so far and apply our skills to build a new webpage. Our focus will be on creating a simple webpage about the Andromeda Galaxy.

To start, we need to decide on the content for our webpage. We will use Wikipedia as our source of information, specifically focusing on the Andromeda Galaxy. This will allow us to utilise our current knowledge to create a functional webpage.

Setting Up the Project Directory

  1. Create a New Directory: On your desktop, create a folder named website_projects. Inside this folder, create another folder called andromeda_galaxy (using lowercase letters).
  2. Create an Images Folder: Inside the andromeda_galaxy folder, create a new folder named images to store any images we might use.
  3. Create the HTML File: Open Notepad++ and create a new blank document. Save this file as index.html in the andromeda_galaxy folder.

Now that we have our project set up, let’s start coding our HTML.

    
     <h1>Andromeda Galaxy</h1>
    
   

Paragraphs

Next, we will add some paragraphs about the Andromeda Galaxy. Copy three paragraphs from the Wikipedia page and paste them into your HTML file, wrapping each paragraph in <p> tags:

    
     <p>Paragraph 1 content...</p>

<p>Paragraph 2 content...</p>

<p>Paragraph 3 content...</p>
    
   

Adding an Image

To include an image, first download an appropriate image from the Wikipedia page. Make sure to attribute the author as required. Save the image in the images folder and rename it to andromeda_galaxy.jpg. Then, add the image to your HTML:

    
     <img fetchpriority="high" fetchpriority="high" decoding="async" src="images/andromeda_galaxy.jpg" alt="Andromeda Galaxy" width="700" height="500">
    
   

Adding a Reference

Below the image, include a reference to the image source:

    
     <p>Image credit: [Author Name]</p>
    
   

Creating a Table

Next, we will create a table to display some data about the Andromeda Galaxy. Use the following structure:

    
     <table border="1">
    <tr>
        <th>Column 1</th>
        <th>Column 2</th>
        <th>Column 3</th>
        <th>Column 4</th>
    </tr>
    <tr>
        <td>Data 1</td>
        <td>Data 2</td>
        <td>Data 3</td>
        <td>Data 4</td>
    </tr>
    <!-- Add more rows as needed -->
</table>

    
   

Embedding a Video

To enhance our webpage, we can embed a YouTube video. Find a relevant video about the Andromeda Galaxy, click on the share button, and select embed. Copy the embed code and paste it into your HTML:

    
     <iframe width="700" height="500" src="[YouTube Embed Link]" frameborder="0" allowfullscreen></iframe>
    
   

Adding a Google Map

Next, we will embed a Google Map showing the NASA Johnson Space Center. Search for the location on Google Maps, click on the share button, and select embed. Copy the HTML code and paste it into your webpage:

    
     <iframe src="[Google Maps Embed Link]" width="700" height="500"></iframe>
    
   

Useful Information List

Create a section for useful information using an unordered list:

    
     <h4>Useful Information</h4>
<ul>
    <li><a href="[Link 1]">Galaxy in Fiction</a></li>
    <li><a href="[Link 2]">Another Resource</a></li>
    <li><a href="[Link 3]">More Information</a></li>
    <li><a href="[Link 4]">Further Reading</a></li>
</ul>

    
   

Final Touches

Add a copyright notice at the bottom of the page:

    
     <p>&copy; 2023 Andromeda Galaxy Information</p>
    
   

In this tutorial, we have built a simple HTML5 webpage about the Andromeda Galaxy using our knowledge of HTML and CSS. We covered essential elements such as headings, paragraphs, images, tables, and embedded content. As we move forward, we will explore CSS to enhance the visual appeal of our webpages. Join me in the next tutorial where we will dive into CSS3 and learn how to style our pages effectively!

Author

Picture of Pankaj Shah

Pankaj Shah

Pankaj Shah is the founder of DCP Web Designers, an award-winning London-based web design and digital marketing agency. With over 20 years of experience, he specialises in WordPress web design, WooCommerce, SEO and helping businesses build effective online solutions.
Tell Us Your Thoughts

This website (dcpweb.co.uk) uses cookies to improve your browsing experience and help us understand how our site is used. By continuing to browse this website, you agree to our use of cookies.

To learn more about how we collect, use, and protect your data, please read our Privacy Policy.

Since 2004, we have designed and developed websites for companies across a wide range of industries, from local service businesses to ecommerce brands and professional organisations.

Our focus is on creating websites that not only look professional, but also perform well in search engines, attract the right audience and support long-term business growth.

If you are looking for experienced web designers who understand how to build websites that deliver real results, our team is here to help.

Privacy Policy

Last Updated: 01/07/2024

Different Colour Productions Ltd (“we,” “us,” or “our”) is committed to protecting your privacy. This Privacy Policy outlines our practices concerning the collection, use, and disclosure of personal information when you visit our website or engage with our services. By using our website and services, you consent to the terms outlined in this Privacy Policy.

1. Information We Collect

We collect various types of information to provide and improve our services. The types of information we may collect include:

1.1. Personal Information: This may include your name, email address, phone number, and any other information you provide when you contact us, request information, or subscribe to our newsletter.

1.2. Log Data: When you visit our website, we automatically collect information, such as your IP address, browser type, pages visited, and the time and date of your visit.

1.3. Cookies and Similar Technologies: We use cookies and other tracking technologies to improve your experience on our website. You can adjust your browser settings to reject cookies or be alerted when cookies are being used.

2. How We Use Your Information

We use the collected information for various purposes, including:

2.1. Providing Services: To provide web design and related services you have requested from us.

2.2. Communication: To respond to your inquiries, send updates, and provide customer support.

2.3. Analytics: To analyse and improve our website and services, as well as monitor usage patterns.

3. Information Sharing and Disclosure

We do not sell or rent your personal information to third parties. However, we may share your information with third parties under the following circumstances:

3.1. Service Providers: We may share your information with trusted service providers who help us deliver our services, such as hosting providers, analytics providers, and marketing services.

3.2. Legal Obligations: We may disclose your information when required by law, to comply with legal processes, or to protect our rights, privacy, safety, or property.

4. Your Choices

You have choices regarding your personal information:

4.1. Access and Update: You can access and update your personal information by contacting us.

4.2. Marketing Communications: You can opt out of receiving marketing communications from us by following the unsubscribe instructions in our emails or emailing [email protected]

5. Security

We take appropriate measures to protect your personal information from unauthorised access, disclosure, alteration, or destruction.

6. Links to Other Websites

Our website may contain links to third-party websites. We are not responsible for the privacy practices of these websites. We recommend reviewing their respective privacy policies.

7. Changes to this Privacy Policy

We may update this Privacy Policy from time to time to reflect changes in our practices. Any changes will be posted on this page, and the date at the top will indicate the latest update.

8. Contact Us

If you have any questions or concerns about this Privacy Policy or our practices, please contact us at: [email protected]

By using our website and services, you acknowledge that you have read and agree to this Privacy Policy. Different Colour Productions Ltd is committed to safeguarding your personal information and respecting your privacy rights.

ThreeBestRated Top 3 Website Designers in London 2026 award for DCP Web Designers Certificate