NAME : AYOGU SAMUEL EKENE
DEPARTMENT:CYBER SECURITY
1:Describe the steps involved in creating a simple HTML webpage
To create a simple HTML webpage
- Set up a coding environment (e.g., Visual Studio Code).
- Create a new file with an .html extension.
- Write the basic HTML structure (DOCTYPE, html, head, body).
- Add content to the body section (e.g., headings, paragraphs, images).
- Save the file.
- Open the file in a web browser to view the webpage.
2: Write the basic structure of an HTML document and explain the purpose of each section
The basic structure of an HTML document is:
```
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<!-- Content goes here -->
</body>
</html>
```
- `<!DOCTYPE html>`: Declares the document type as HTML5.
- `<html>`: The root element of the HTML document.
- `<head>`: Contains metadata about the document (e.g., title, charset).
- `<title>`: Sets the title of the page, displayed in the browser's title bar.
- `<body>`: Contains the content of the HTML document.
3: Describe the step-by-step process of how the internet delivers a webpage to a user
- The user types a URL (e.g., [Link]) into their browser and presses Enter.
- The browser sends a request to a DNS (Domain Name System) server to resolve the domain
name to an IP address.
- The DNS server responds with the IP address associated with the domain name.
- The browser sends an HTTP (Hypertext Transfer Protocol) request to the server at the resolved
IP address.
- The server processes the request and sends the requested webpage back to the browser as an
HTTP response.
- The browser receives the response, renders the webpage, and displays it to the user.
3: Explain the roles of web browsers and servers in this process
- Web browsers (e.g., Google Chrome, Mozilla Firefox):
- Send HTTP requests to servers to retrieve webpages.
- Receive and render HTTP responses from servers.
- Display webpages to users.
- Web servers (e.g., Apache, Nginx):
- Host and manage websites.
- Receive and process HTTP requests from browsers.
- Send HTTP responses back to browsers.
3 If the webpage doesn’t load, what could be three possible reasons, and how might they be
resolved?
- Network connectivity issues.
- Server-side issues (e.g., server overload, maintenance).
- Reason 3: Browser cache or configuration issues.
4 What is web development, and why is it essential for a small business to succeed in the digital
era?
Part 1:
Web development is the process of building and maintaining websites, web applications, and
mobile applications. It involves various technologies, such as HTML, CSS, JavaScript, and server-
side programming languages.
(4B) Explain how front-end and back-end technologies would be used to create a website for a
small business
- Front-end technologies like (e.g., HTML, CSS, JavaScript):
- Create the user interface and user experience (UI/UX) of the website.
- Handle client-side logic and interactions.
- Back-end technologies (e.g., server-side programming languages, databases):
- Handle requests and responses between the client and server.
- Manage server-side logic, database interactions, and API integrations.
(4C): Suggest one career opportunity related to web development that a small business could
hire for and justify your choice
Hire a Full-Stack Web Developer. This role involves handling both front-end and back-end
development tasks, making it a versatile and valuable asset for a small business.
5: Describe how the internet works in simple terms, including the role of web browsers,
servers, and URLs
See the internet as a massive network of interconnected computers. When you enter a URL into
your browser, it sends a request to a server, which then sends the requested webpage back to
your browser for display.
6: Discuss the importance of servers and browsers in web development
Servers store and manage websites, while browsers request and display webpages.
7: What is the purpose of the <title> tag in an HTML document? Where does it appear in a
webpage.
The <title> tag in html specifies the title of webpage, appearing in the browser title bar, search
engine result, and bookmarks.
8: Setting up a coding environment
Setting up a coding environment like Visual Studio Code is important for web development
because it provides a centralized platform for writing, debugging, and testing code.
9: Purpose of CSS
The primary purpose of CSS (Cascading Style Sheets) in web development is to control the
layout, visual styling, and user experience of web pages
Difference between CSS and HTML
CSS is different from HTML in that HTML (Hypertext Markup Language) is used to define the
structure and content of web pages, whereas CSS is used to control the visual styling and layout.
(Q)10: Function of a server
A server plays a crucial role in web development by hosting, storing, and managing websites, as
well as handling requests from clients (web browsers).
Importance of servers
Servers are essential for websites because they enable the storage, management, and delivery
of web content. Without servers, websites would not be accessible, and users would not be able
to interact with online applications and services.
11: Difference between front-end and back-end development
Front-end web development focuses on client-side logic, using technologies like HTML, CSS, and
JavaScript to design and build the user interface, layout, and visual aspects. Back-end web
development, on the other hand, concentrates on the server-side, uses programming languages
like PHP, Ruby, and Python to manage data storage, retrieval, and manipulation.