0% found this document useful (0 votes)
33 views15 pages

Web Page Design Assignment Example

The document is an HTML code for a college education website designed by Naveen Shankar K. It includes various sections such as a top bar, header, hero section, services, and about section, with corresponding CSS styles for layout and design. The webpage features social media links, contact information, and various educational services offered by the college.

Uploaded by

naveenshankar571
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views15 pages

Web Page Design Assignment Example

The document is an HTML code for a college education website designed by Naveen Shankar K. It includes various sections such as a top bar, header, hero section, services, and about section, with corresponding CSS styles for layout and design. The webpage features social media links, contact information, and various educational services offered by the college.

Uploaded by

naveenshankar571
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ASSIGNMENT -2

NAME: NAVEEN SHANKAR K


ROLL NO:[Link].U4AIE24048

QUESTION 2:

DESIGN THE FOLLOWING WEB PAGE AS IN THE IMAGE


CODE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>COLLEGE - Education Website</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}

/* Top Bar */
.top-bar {
background-color: #FF7043;
color: white;
padding: 8px 50px;
display: flex;
justify-content: space-between;
align-items: center;
}

.social-icons {
display: flex;
}

.social-icons a {
color: white;
margin-right: 15px;
text-decoration: none;
font-size: 14px;
}
.contact-container {
display: flex;
}

.contact-info, .email-info, .address-info {


display: flex;
align-items: center;
margin-left: 30px;
font-size: 14px;
}

.contact-info i, .email-info i, .address-info i {


margin-right: 8px;
}

/* Header */
header {
background-color: white;
padding: 15px 50px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #eee;
}

.logo {
display: flex;
align-items: center;
}

.logo i {
color: #FF7043;
font-size: 24px;
margin-right: 10px;
}

.logo span {
color: #333;
font-size: 22px;
font-weight: bold;
letter-spacing: 1px;
}

/* Navigation */
nav ul {
display: flex;
list-style: none;
}

nav ul li {
margin: 0 15px;
}

nav ul li a {
color: #333;
text-decoration: none;
font-size: 14px;
font-weight: 600;
padding: 10px 0;
}

nav ul li a i {
font-size: 10px;
margin-left: 4px;
}

.registration-btn {
background-color: #FF7043;
color: white;
padding: 10px 20px;
border: none;
border-radius: 3px;
font-size: 14px;
font-weight: bold;
cursor: pointer;
}

/* Hero Section */
.hero {
background-image: linear-gradient(rgba(0,0,0,0.7),
rgba(0,0,0,0.7)), url('[Link]');
background-size: cover;
background-position: center;
height: 500px;
color: white;
padding: 80px 50px;
position: relative;
}

.hero-content {
max-width: 600px;
}

.hero-content h5 {
font-size: 14px;
font-weight: 500;
margin-bottom: 15px;
position: relative;
padding-left: 30px;
}

.hero-content h5:before {
content: "";
position: absolute;
left: 0;
top: 50%;
width: 20px;
height: 2px;
background-color: #FF7043;
transform: translateY(-50%);
}

.hero-content h1 {
font-size: 36px;
font-weight: 700;
line-height: 1.3;
margin-bottom: 20px;
}
.hero-content p {
font-size: 14px;
line-height: 1.6;
margin-bottom: 30px;
opacity: 0.8;
}

.btn {
display: inline-block;
padding: 12px 25px;
border-radius: 3px;
font-size: 14px;
font-weight: bold;
text-decoration: none;
margin-right: 10px;
}

.btn-primary {
background-color: #FF7043;
color: white;
}

.btn-secondary {
background-color: #2980b9;
color: white;
}

/* Services Section */
.services {
display: flex;
justify-content: space-between;
padding: 0 50px;
margin-top: -70px;
position: relative;
z-index: 10;
}

.service-box {
width: 32%;
padding: 30px;
border-radius: 5px;
color: white;
}

.service-box i {
font-size: 24px;
margin-bottom: 15px;
}

.service-box h3 {
font-size: 18px;
margin-bottom: 15px;
}

.service-box p {
font-size: 14px;
line-height: 1.6;
margin-bottom: 15px;
opacity: 0.8;
}

.education-box {
background-color: #2980b9;
}

.international-box {
background-color: #FF7043;
}

.bachelor-box {
background-color: #3F51B5;
}

.read-more {
color: white;
font-size: 14px;
font-weight: bold;
text-decoration: none;
}
/* About Section */
.about {
padding: 80px 50px;
background-color: #f8f9fa;
}

.about-heading {
text-align: center;
color: #FF7043;
font-size: 14px;
font-weight: 600;
margin-bottom: 40px;
}

.about-content {
display: flex;
align-items: flex-start;
gap: 40px;
}

.about-text {
flex: 1;
}

.about-text h2 {
font-size: 30px;
color: #333;
margin-bottom: 20px;
}

.about-text p {
font-size: 14px;
color: #666;
line-height: 1.6;
margin-bottom: 20px;
}

.about-images {
flex: 1;
display: flex;
flex-direction: column;
gap: 20px;
}

.about-image {
border-radius: 5px;
overflow: hidden;
height: 200px;
}

.about-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

/* Features */
.features {
display: flex;
margin-top: 30px;
margin-bottom: 30px;
}

.feature {
flex: 1;
display: flex;
align-items: flex-start;
margin-right: 30px;
}

.feature-icon {
background-color: #FF7043;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
}
.feature-icon i {
color: white;
font-size: 16px;
}

.feature-text h3 {
font-size: 16px;
color: #333;
margin-bottom: 8px;
}

.feature-text p {
font-size: 13px;
color: #666;
line-height: 1.5;
}
</style>
<link rel="stylesheet"
href="[Link]
[Link]">
</head>
<body>
<!-- Top Bar -->
<div class="top-bar">
<div class="social-icons">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
<a href="#"><i class="fab fa-pinterest-p"></i></a>
</div>
<div class="contact-container">
<div class="contact-info">
<i class="fas fa-phone"></i>
<span>Call Us: +123 456 789</span>
</div>
<div class="email-info">
<i class="fas fa-envelope"></i>
<span>Email: info@[Link]</span>
</div>
<div class="address-info">
<i class="fas fa-map-marker-alt"></i>
<span>Address: Your Best World</span>
</div>
</div>
</div>

<!-- Header -->


<header>
<div class="logo">
<i class="fas fa-graduation-cap"></i>
<span>COLLEGE</span>
</div>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Courses <i class="fas
fa-chevron-down"></i></a></li>
<li><a href="#">Blog <i class="fas
fa-chevron-down"></i></a></li>
<li><a href="#">Events <i class="fas
fa-chevron-down"></i></a></li>
<li><a href="#">Pages <i class="fas
fa-chevron-down"></i></a></li>
</ul>
</nav>
<button class="registration-btn">Registration Open</button>
</header>

<!-- Hero Section -->


<section class="hero">
<div class="hero-content">
<h5>WELCOME TO COLLEGE</h5>
<h1>EDUCATION IS THE BEST KEY SUCCESS IN LIFE</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Donec aliquet diam ex, eleifero porta quam, vulputate sed nisi. Interdum
gravida arcu arcu eros.</p>
<a href="#" class="btn btn-primary">Discover More <i
class="fas fa-arrow-right"></i></a>
<a href="#" class="btn btn-secondary">Contact Us <i class="fas
fa-arrow-right"></i></a>
</div>
</section>

<!-- Services Section -->


<section class="services">
<div class="service-box education-box">
<i class="fas fa-mobile-alt"></i>
<h3>Education Services</h3>
<p>Suspendisse tincidunt egesty eleifend. Ipsum without
suspense consectetur and more during friendly.</p>
<a href="#" class="read-more">Read More <i class="fas
fa-arrow-right"></i></a>
</div>
<div class="service-box international-box">
<i class="fas fa-globe"></i>
<h3>International Fields</h3>
<p>Suspendisse tincidunt egesty eleifend. Ipsum without
suspense consectetur and more during friendly.</p>
<a href="#" class="read-more">Read More <i class="fas
fa-arrow-right"></i></a>
</div>
<div class="service-box bachelor-box">
<i class="fas fa-user-graduate"></i>
<h3>Bachelor's and Master's</h3>
<p>Suspendisse tincidunt egesty eleifend. Ipsum without
suspense consectetur and more during friendly.</p>
<a href="#" class="read-more">Read More <i class="fas
fa-arrow-right"></i></a>
</div>
</section>

<!-- About Section -->


<section class="about">
<div class="about-heading">ABOUT OUR UNIVERSITY</div>
<div class="about-content">
<div class="about-text">
<h2>A Few Words About the University</h2>
<p>Our community is being called to reimagine the future.
As the only university where a renowned design school comes together with
premier colleges, we are making learning more relevant and
transformational.</p>
<p>We are proud to offer top-range undergraduate services
such and post-payroll and direct human resources management and placement
with global business range placement strategies that integrate into
whatever and we also provide the compliance.</p>

<div class="features">
<div class="feature">
<div class="feature-icon">
<i class="fas fa-graduation-cap"></i>
</div>
<div class="feature-text">
<h3>Doctoral Degrees</h3>
<p>Consectetur adipiscing elit sed do eiusmod
tempor incididunt know more.</p>
</div>
</div>
<div class="feature">
<div class="feature-icon">
<i class="fas fa-globe"></i>
</div>
<div class="feature-text">
<h3>Global Students</h3>
<p>Consectetur adipiscing elit sed do eiusmod
tempor incididunt know more.</p>
</div>
</div>
</div>

<a href="#" class="btn btn-primary">Read More <i


class="fas fa-arrow-right"></i></a>
</div>
<div class="about-images">
<div class="about-image">
<img
src="[Link]
[Link]?s=612x612&w=0&k=20&c=xm4sCU3Q_xxp9ctS0eMWQ6AIxmDkV
cvVDhh2lKxX-9o=" alt="University Gate">
</div>
<div class="about-image">
<img
src="[Link]
[Link]" alt="Student Girl">
</div>
</div>
</div>
</section>

OUTPUT:

Common questions

Powered by AI

The design employs several factors to ensure responsiveness and consistent user experience across devices. The use of flexible units and responsive structures, like `display: flex` for layouts, allows elements like the navigation bar and header to adjust naturally to different screen sizes. The hero section, with its large background image and text, optimizes both aspect ratio and readability with CSS properties like `background-size: cover`. Additionally, media queries and percentages are strategically used for consistent spacing and alignment. Buttons and interactive elements are designed with adequate padding and size for easy tapping on touch devices, ensuring usability and aesthetic consistency .

The navigation structure of the web page balances aesthetic appeal and functionality through its minimalist design and interactive elements. The navigation menu features succinct selectors with hover effects, employing a sans-serif font and a clean layout devoid of extraneous elements, maintaining a professional aesthetic. Functionality is enhanced by the use of dropdown icons (chevron indicators) next to menu items like 'Courses' and 'Events', suggesting submenu availability and enhancing user navigation experience. The choice of #333 text color over a white background ensures readability, while the flexible structure (display: flex) allows for easy access across devices .

The web page maintains visual integrity and readability through the strategic use of color contrast and typography. The base color scheme includes a dominant #FF7043 (a bright orange), used for elements such as button backgrounds, icons, and section headings, which stand out against the plain white or lighter gray backgrounds, ensuring high contrast. Typography is handled with a default sans-serif font family, 'Arial', providing clarity and legibility. Font sizes are varied—for instance, headlines in .hero-content h1 are set large (36px) for prominence, while body text remains at a readable 14px, optimizing both emphasis and ease of reading across devices .

The about section enhances user understanding by clearly organizing content that highlights the university's mission and offerings within a spacious and easy-to-navigate layout. Key offerings and the university's transformational goals are introduced through structured content blocks, with bold headings and concise paragraphs. The use of icons and features within the space—like 'Doctoral Degrees' and 'Global Students'—reinforce the educational opportunities provided. Complementary visuals in the form of 'about-images' further illustrate the campus and student life, appealing to prospective students by providing a more rounded view of the university experience .

The services section employs distinct background colors and iconography to visually distinguish different offerings. Each service box, namely education-box, international-box, and bachelor-box, uses a unique color (#2980b9, #FF7043, and #3F51B5 respectively), while maintaining the same padding, width, and text styling to ensure cohesion. Each box also incorporates an icon that symbolizes the service, such as a mobile icon for education services, a globe for international fields, and a graduation cap for academic degrees. This consistency in layout and variation in color and iconography successfully differentiates services while keeping the design unified .

The primary considerations in button design include color choice, size, readability, and placement, all of which enhance user interaction and navigation. The buttons employ high-contrast colors (e.g., #FF7043 for primary actions) ensuring they stand out against the background. Their size and spacing are optimized for a variety of devices, providing easy clickability or tapability. The use of actionable text like 'Discover More' and 'Contact Us' clearly communicates the button's function, encouraging interaction. Strategically placed near key content areas, these buttons guide user flow throughout the site, improving navigational efficiency and user experience .

Social media links and contact information in the top bar enhance accessibility and connectivity by providing immediate access to various communication channels. Positioned prominently at the page's top, these elements facilitate quick navigation to social media platforms like Facebook and Twitter, encouraging user engagement and enhancing brand connectivity. Additionally, contact details such as phone numbers, email, and physical address are easily accessible, fostering communication and potentially increasing user trust through transparency and ease of contact .

The hero section conveys its message by combining visual and textual elements for maximum impact. A gradient overlay on the background image ensures the key message text 'EDUCATION IS THE BEST KEY SUCCESS IN LIFE' maintains visibility and focus. Text hierarchy is integral, with a welcoming header, 'WELCOME TO COLLEGE', in smaller size and the main message in a much larger fontsize (36px), structuring priority. The section also includes concise supporting text, guiding users to explore more or contact via prominent call-to-action buttons 'Discover More' and 'Contact Us', which are styled distinctly at contrasting colors, encouraging interaction .

The web page design addresses user diversity and inclusivity by implementing both visual and textual elements effectively. Visual inclusivity is achieved through flexible layout designs and contrast-rich colors, ensuring readability and comfort across various devices. The inclusion of globally oriented content, hinted through sections like 'International Fields' and featuring diverse imagery (such as 'Global Students'), embraces and reflects a global user base, strengthening inclusivity. Textual content is concise and clear, using simple language and familiar icons for universal understanding, thus accommodating a wide range of literacy levels and cultural backgrounds in communication .

In the features section, color, iconography, and text hierarchy collaboratively reinforce the university's branding and identity. The primary brand color, #FF7043, is consistently applied to icon backgrounds and key text highlights, creating a visual linkage across sections. Iconography is utilized to symbolize education-related themes, reinforcing the identity as a center of learning and innovation. Text hierarchy, with feature titles in bold and slightly larger font, along with supporting descriptions, guides the user through the content logically, all of which establish a cohesive, recognizable brand aesthetic that communicates the university's core values and expertise effectively .

You might also like