0% found this document useful (0 votes)
30 views

UNIT 6 WEB DEVELOPMENT

The document discusses web development concepts, including the differences between web hosting and web servers, steps to create a complete website, and various HTML tags for formatting content. It also covers methods for displaying images, redirecting users, and using tables, as well as popular tools for web design and development. Key HTML elements such as <head>, <title>, and header tags are explained, along with the use of <iframe> for embedding other web pages.

Uploaded by

hasnainrashid61
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)
30 views

UNIT 6 WEB DEVELOPMENT

The document discusses web development concepts, including the differences between web hosting and web servers, steps to create a complete website, and various HTML tags for formatting content. It also covers methods for displaying images, redirecting users, and using tables, as well as popular tools for web design and development. Key HTML elements such as <head>, <title>, and header tags are explained, along with the use of <iframe> for embedding other web pages.

Uploaded by

hasnainrashid61
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
You are on page 1/ 3

UNIT 6

WEB DEVELOPMENT
Question/Answers
Q1. Differentiate between web hosting and web server.
Web Hosting Web Server
1. Purpose: Provides storage space and 1. Purpose: A system (hardware/software)
services for websites to be accessible that delivers website content to users via
online. the internet.

2. Provider: Offered as a service by 2. Provider: Often managed by hosting


companies like Bluehost, HostGator, and companies or businesses themselves.
GoDaddy.

3. Usage: Focuses on making websites 3. Usage: Stores, processes, and delivers


live and accessible to users globally. files (HTML, CSS, etc.) and handles
requests from users.

4. Dependency: Web hosting relies on 4. Dependency: A web server can exist


web servers to function. independently to handle hosting and
other functions.

Q2. What are the steps involved in creating a complete website?


1. Planning: Define the purpose, target audience, and layout of the website.
2. Designing: Create wireframes (prototypes) and design the user interface (UI).
3. Development: Use HTML, CSS, JavaScript, and backend technologies to code the
website.
4. Testing: Check for errors, bugs, and responsiveness across different devices and
browsers.
5. Deployment: Upload the website to a hosting server.
6. Maintenance: Update content and fix any issues regularly.

Q3. Differentiate between <head>, <title>, and <h1> to <h6> tags.


• <head>: Contains metadata, links to stylesheets, and scripts; it does not display
on the webpage.

1
• <title>: Defines the title of the webpage, which appears on the browser tab.
• <h1> to <h6>: Header tags used to define headings in content, with <h1>
being the largest and <h6> the smallest.

Q4. Identify and explain some HTML tags used for formatting content.
• <b>: Makes text bold.
• <i>: Italicizes text.
• <u>: Underlines text.
• <sup>: Displays text as superscript.e.g.(a+b)2
• <sub>: Displays text as subscript.e.g.(a2+b2)
• <br>: Inserts a line break.
• <p>: Creates a paragraph.

Q5. Differentiate between ordered and unordered lists.


• Ordered List (<ol>): Displays items in a numbered format (e.g., 1, 2, 3).
• Unordered List (<ul>): Displays items with bullets or symbols.

Q6. How are images displayed in an HTML page?


Images are displayed using the <img> tag with attributes such as:
• src: Specifies the image source (file path or URL).
• alt: Provides alternative text for accessibility.
• Example: <img src="image.jpg" alt="Description of image">.

Q7. How can a user be redirected to another web page?


Users can be redirected using:
• HTML Method: <meta http-equiv="refresh" content="5;
url=https://example.com">.
• JavaScript Method: window.location.href = "https://example.com";.

2
Q8. What kind of HTML elements are used to display data in rows and columns?
HTML tables are used with the following tags:
• <table>: Defines the table structure.
• <tr>: Creates a row.
• <td>: Creates a data cell.
• <th>: Creates a header cell.
Formatting Features: Use attributes like border, cellpadding, cellspacing, and
CSS styles for table design.

Q9. Is it possible to display the entire contents of another web page in our HTML
page? How?
Yes, it is possible using the <iframe> tag, which embeds another web page within the
current page.
Example: <iframe src="https://example.com" width="600" height="400"></iframe>.

Q10. List some popular text editors and other tools that help in designing and
development of websites.
• Text Editors: VS Code, Sublime Text, Atom, Notepad++.
• Design Tools: Adobe XD, Figma, Sketch.
• Web Development Tools: Bootstrap, jQuery, GitHub, WordPress.

You might also like