Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • CSS Tutorial
  • CSS Exercises
  • CSS Interview Questions
  • CSS Selectors
  • CSS Properties
  • CSS Functions
  • CSS Examples
  • CSS Cheat Sheet
  • CSS Templates
  • CSS Frameworks
  • Bootstrap
  • Tailwind
  • CSS Formatter
Open In App
Next Article:
Design a Webpage for online food delivery system using HTML and CSS
Next article icon

Design an Event Webpage using HTML and CSS

Last Updated : 03 Jan, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Creating an event webpage is an exciting way to showcase information about an event, including its schedule, speakers, and contact details.

What We’re Going to Create

We’ll create a webpage for a fictional event called “GeeksforGeeks TechCon 2025.” This webpage will include

  • A header introducing the event.
  • Navigation links for different sections (About, Schedule, Speakers, and Contact).
  • A schedule table.
  • A contact form

Project Preview

Event-Webpage

Design an Event Webpage using HTML and CSS

Event Webpage – HTML Structure

The HTML structure provides the content and layout for the webpage.

HTML
<html> <head></head> <body>     <header>         <h1>Welcome to GeeksforGeeks TechCon 2025</h1>         <p>The Ultimate Technology and Programming Conference</p>     </header>     <nav>         <a href="#about">About</a> |         <a href="#schedule">Schedule</a> |         <a href="#speakers">Speakers</a> |         <a href="#contact">Contact</a>     </nav>     <section id="about">         <h2>About the Event</h2>         <p>GeeksforGeeks TechCon 2025 brings together leading minds in programming,           tech, and innovation. Join us for a day of insightful talks, hands-on workshops,           and an opportunity to network with fellow geeks and professionals from all around the world.</p>     </section>     <section id="schedule">         <h2>Event Schedule</h2>         <table>             <thead>                 <tr>                     <th>Time</th>                     <th>Session</th>                     <th>Contest</th>                 </tr>             </thead>             <tbody>                 <tr>                     <td>9:00 AM</td>                     <td>Opening Keynote</td>                     <td>GeeksforGeeks Coding Plateform</td>                 </tr>                 <tr>                     <td>10:30 AM</td>                     <td>Understanding AI and Machine Learning</td>                     <td>Mr. Arvind Kumar</td>                 </tr>                 <tr>                     <td>1:00 PM</td>                     <td>Lunch Break</td>                     <td>-</td>                 </tr>                 <tr>                     <td>2:00 PM</td>                     <td>Exploring the Future of Cloud Computing</td>                     <td>Ms. Neha Gupta</td>                 </tr>             </tbody>         </table>     </section>     <section id="speakers">         <h2>Meet the Speakers</h2>         <ul>             <li><strong>Dr. Radhika Sharma:</strong> AI Expert and Researcher</li>             <li><strong>Mr. Arvind Kumar:</strong> Senior Data Scientist at TechWave</li>             <li><strong>Ms. Neha Gupta:</strong> Cloud Computing Specialist at CloudTech</li>             <li><strong>Mr. Sandeep Reddy:</strong> Full Stack Developer and Open-Source Contributor</li>         </ul>     </section>     <section id="contact">         <h2>Contact Us</h2>         <form>             <label for="name">Name:</label><br>             <input type="text" id="name" name="name"><br><br>             <label for="email">Email:</label><br>             <input type="email" id="email" name="email"><br><br>             <label for="message">Message:</label><br>             <textarea id="message" name="message" rows="4"></textarea><br><br>             <button type="submit">Send</button>         </form>     </section> </body> </html> 

In this code

  • Header: Introduces the event with a title and tagline.
  • Navigation: Provides links to different sections of the webpage.
  • About Section: Contains a brief description of the event.
  • Schedule Section: Includes a table listing the event’s schedule with time, session, and speaker details.
  • Speakers Section: Highlights key speakers with their titles and expertise.
  • Contact Section: Contains a form to collect user queries or feedback.

Output

Screenshot-2025-01-02-121432_11zon

Design an Event Webpage using HTML and CSS

Event Webpage – Including CSS

HTML
<html> <head>     <title>GeeksforGeeks TechCon 2025</title>     <style>         body {             font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;             line-height: 1.6;             margin: 0;             padding: 0;             background-color: #f4f6f9;             color: #444;         }         header {             background-color: #4CAF50;             color: white;             padding: 25px 0;             text-align: center;             box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);         }         header h1 {             margin: 0;             font-size: 2.5rem;         }         nav {             background-color: #343a40;             /* Dark Gray */             text-align: center;             padding: 12px 0;         }         nav a {             color: #ffffff;             text-decoration: none;             margin: 0 20px;             font-weight: 600;             font-size: 1.1rem;             letter-spacing: 0.5px;         }         nav a:hover {             color: #ff6347;             /* Tomato */             text-decoration: underline;         }         section {             padding: 25px;             margin: 20px auto;             max-width: 900px;             background-color: #ffffff;             border-radius: 8px;             box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);             transition: box-shadow 0.3s ease;         }         section:hover {             box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);         }         section h2 {             color: #007bff;             /* Bright Blue */             font-size: 1.8rem;             margin-bottom: 15px;         }         table {             width: 100%;             border-collapse: collapse;             margin-top: 15px;         }         table th,         table td {             border: 1px solid #ddd;             padding: 12px;             text-align: left;         }         table th {             background-color: #f1f1f1;             font-weight: 600;             color: #333;         }         table tr:nth-child(even) {             background-color: #f9f9f9;         }         ul {             list-style: none;             padding: 0;         }         ul li {             margin: 12px 0;             font-size: 1.2rem;         }         ul li strong {             color: #007bff;         }         form {             max-width: 650px;             margin: 25px auto;         }         form label {             display: block;             margin-bottom: 8px;             font-weight: 600;         }         form input,         form textarea,         form button {             width: 100%;             padding: 14px;             margin-bottom: 18px;             border: 1px solid #ddd;             border-radius: 8px;             font-size: 1rem;         }         form input:focus,         form textarea:focus {             border-color: #007bff;             outline: none;         }         form button {             background-color: #007bff;             color: white;             font-size: 1.1rem;             font-weight: 600;             border: none;             cursor: pointer;             transition: background-color 0.3s ease;         }         form button:hover {             background-color: #0056b3;         }         form button:active {             background-color: #004085;         }     </style> </head> <body>     <header>         <h1>Welcome to GeeksforGeeks TechCon 2025</h1>         <p>The Ultimate Technology and Programming Conference</p>     </header>     <nav>         <a href="#about">About</a> |         <a href="#schedule">Schedule</a> |         <a href="#speakers">Speakers</a> |         <a href="#contact">Contact</a>     </nav>     <section id="about">         <h2>About the Event</h2>         <p>GeeksforGeeks TechCon 2025 brings together leading minds in programming,              tech, and innovation. Join us for a             day of insightful talks, hands-on workshops, and an opportunity              to network with fellow geeks and             professionals from all around the world.</p>     </section>     <section id="schedule">         <h2>Event Schedule</h2>         <table>             <thead>                 <tr>                     <th>Time</th>                     <th>Session</th>                     <th>Contest</th>                 </tr>             </thead>             <tbody>                 <tr>                     <td>9:00 AM</td>                     <td>Opening Keynote</td>                     <td>GeeksforGeeks Coding Platform</td>                 </tr>                 <tr>                     <td>10:30 AM</td>                     <td>Understanding AI and Machine Learning</td>                     <td>Mr. Arvind Kumar</td>                 </tr>                 <tr>                     <td>1:00 PM</td>                     <td>Lunch Break</td>                     <td>-</td>                 </tr>                 <tr>                     <td>2:00 PM</td>                     <td>Exploring the Future of Cloud Computing</td>                     <td>Ms. Neha Gupta</td>                 </tr>             </tbody>         </table>     </section>     <section id="speakers">         <h2>Meet the Speakers</h2>         <ul>             <li><strong>Dr. Radhika Sharma:</strong> AI Expert and Researcher</li>             <li><strong>Mr. Arvind Kumar:</strong> Senior Data Scientist at TechWave</li>             <li><strong>Ms. Neha Gupta:</strong> Cloud Computing Specialist at CloudTech</li>             <li><strong>Mr. Sandeep Reddy:</strong> Full Stack Developer and Open-Source Contributor</li>         </ul>     </section>     <section id="contact">         <h2>Contact Us</h2>         <form>             <label for="name">Name:</label><br>             <input type="text" id="name" name="name"><br><br>             <label for="email">Email:</label><br>             <input type="email" id="email" name="email"><br><br>             <label for="message">Message:</label><br>             <textarea id="message" name="message" rows="4"></textarea><br><br>             <button type="submit">Send</button>         </form>     </section> </body> </html> 

In this Code

  • Body Styles: Set a uniform background, font style, and text color.
  • Header and Navigation: Style the header and navigation bar for better presentation.
  • Sections: Add padding, background, and shadow effects to sections.
  • Tables: Define borders and alternate row colors for better readability.
  • Form: Style inputs, textarea, and buttons for user interaction.

Output

With just a few lines of HTML and CSS, you can create a clean and professional event webpage. You can further enhance this by adding JavaScript for interactivity, such as a countdown timer or dynamic schedule updates. Feel free to customize the styles and layout to suit your needs.



Next Article
Design a Webpage for online food delivery system using HTML and CSS
author
imsushant12
Improve
Article Tags :
  • CSS
  • HTML
  • Project
  • Web Technologies
  • HTML-Basics

Similar Reads

  • How to Create a Website Using HTML and CSS?
    Creating a website using HTML and CSS is a foundational skill if you are learning web development. HTML (HyperText Markup Language) is used to structure content, while CSS (Cascading Style Sheets) is used for styling, including colors, fonts, margins, and positioning. In this article, we’ll go throu
    5 min read
  • Design a Tribute Page using HTML and CSS
    Making a tribute page is an Innovative way to honor someone special in your life. In this article, we create a tribute webpage using HTML and CSS. This page has a simple and creative design. It contains a header with a title, a main section with text and images, and a footer for main details or cred
    4 min read
  • Build a Survey Form using HTML and CSS
    Creating a survey form is a great way to understand the basics of web development. In this tutorial, we will build a Survey Form that allows users to easily submit their responses. The form will include different input types such as text fields, checkboxes, and radio buttons, all designed using HTML
    4 min read
  • Design a Parallax Webpage using HTML and CSS
    A parallax website includes fixed images in the background that are kept in place and the user can scroll down the page to see different parts of the image. In this article, we are creating a parallax webpage using HTML and CSS. We will use basic tags of HTML like div, paragraph, and heading to writ
    4 min read
  • Design an Event Webpage using HTML and CSS
    Creating an event webpage is an exciting way to showcase information about an event, including its schedule, speakers, and contact details. What We’re Going to CreateWe’ll create a webpage for a fictional event called "GeeksforGeeks TechCon 2025." This webpage will include A header introducing the e
    5 min read
  • Design a Webpage for online food delivery system using HTML and CSS
    Creating your own online food delivery website is a great way to present a user-friendly platform for customers to browse and order food online. In this project, we’ll design a simple yet effective food delivery website using HTML and CSS. What We’re Going to Create...We’ll develop a straightforward
    7 min read
  • Create a Homepage for Restaurant using HTML , CSS and Bootstrap
    HTML: HTML stands for Hyper Text Markup Language. It is used to design web pages using a markup language. HTML is a combination of Hypertext and Markup language. Hypertext defines the link between the web pages. A markup language is used to define the text document within the tag which defines the s
    6 min read
  • How to create a Landing page using HTML CSS and JavaScript ?
    A landing page, also referred to as a lead capture page, static page, or destination page, serves a specific purpose and typically appears as a result of online advertising or search engine optimization efforts. Unlike a homepage, a landing page is stripped of distractions and focuses on capturing v
    7 min read
  • Design a Webpage like Technical Documentation using HTML and CSS
    In this article, we will design a webpage-like technical documentation using HTML and CSS . Technical documentation is any document that explains the features of the respective product. In this project, we are going to create technical documentation of C++ by using HTML and CSS. The webpage has a me
    9 min read
  • Create a Music Website Template using HTML, CSS & JavaScript
    A Music Website Template is a pre-designed layout for creating a music-themed webpage. By utilizing HTML, CSS, and JavaScript, developers can craft a functional and visually appealing website with features like play/pause controls, sections for home, music, about, and contact. Approach: We will crea
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences