Skip to content

moulidharyadav/simplewebserver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

EX01 Developing a Simple Webserver

Date:1/1/23

AIM:

To develop a simple webserver to serve html pages.

DESIGN STEPS:

Step 1:

HTML content creation.

Step 2:

Design of webserver workflow.

Step 3:

Implementation using Python code.

Step 4:

Serving the HTML pages.

Step 5:

Testing the webserver.

PROGRAM:

<!DOCTYPE html>
<html>
<head>
 <title>Using Python's SimpleHTTPServer Module</title>
 <style>
 #rectangle {
 height: 50px;
 width: 100px;
 background-color: #00f28f;
 }
 </style>
</head>
<body>
 <h2>Rectangle served by SimpleHTTPServer</h2>
 <div id="rectangle"></div>
</body>
</html>

OUTPUT:

image

RESULT:

The program for implementing simple webserver is executed successfully.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.0%
  • HTML 1.0%