0% found this document useful (0 votes)
32 views4 pages

WT Questions

Uploaded by

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

WT Questions

Uploaded by

ishitaasharma2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

1.

World Wide Web (WWW)


 What is the World Wide Web?
The World Wide Web is a system of interlinked hypertext
documents accessed via the internet, allowing users to view
web pages and navigate between them using hyperlinks.
 Difference between WWW and the Internet?
The Internet is the global network of computers, while the
World Wide Web is a service that operates over the internet
to access websites.
 Web page, Home page, and Website?
A web page is a single document on the web. A home page
is the main page of a website. A website is a collection of
related web pages under a single domain.
 Static vs Dynamic websites?
A static website displays the same content to all users,
while a dynamic website generates content dynamically
based on user interaction or database data.
 Client-Server Computing?
It’s a model where the client (user's computer) requests
services from the server (remote computer), which
processes and sends the data back.
 Web Client and Web Server?
A web client is a browser that requests web content, while a
web server processes those requests and delivers the
content.
 Web Browsers?
Applications like Chrome, Firefox, and Edge used to access
websites on the WWW.
 Client-side vs Server-side scripting languages?
Client-side scripting runs in the user's browser (e.g.,
JavaScript), while server-side scripting runs on the server
(e.g., PHP).
2. HTML Overview
 What is HTML?
HTML (Hypertext Markup Language) is the standard language
for creating and designing web pages.
 HTML Document structure?
It includes <!DOCTYPE>, <html>, <head>, and <body>
tags. <head> contains metadata, and <body> contains
content.
 Anchor (<a>) tag?
The <a> tag creates hyperlinks to other web pages or
resources.
 Inserting images in HTML?
Use the <img> tag with the src attribute to add an image:
<img src="image.jpg" alt="description">.
 Adding comments in HTML?
Use <!-- Comment --> to add comments that won’t appear
on the web page.
 HTML character entities?
These are special characters in HTML, like &amp; for & or &lt;
for <.
 Ordered vs Unordered lists?
Ordered lists use <ol> for numbered items, and
unordered lists use <ul> for bulleted items.
 Creating a table?
Use <table>, with rows <tr>, and data cells <td>, e.g.,
html
Copy code
<table><tr><td>Data</td></tr></table>
 Frames and floating frames?
Frames (<frameset>) allow dividing the browser window into
sections. Floating frames (<iframe>) embed external web
pages within a current page.
 Creating forms in HTML?
Use the <form> tag with input fields (<input>, <textarea>,
<select>). Forms are used to collect user data.
 Image map?
An image map uses the <map> and <area> tags to make
different parts of an image clickable.
3. Cascading Style Sheets (CSS)
 What is CSS?
CSS (Cascading Style Sheets) is used to style and layout web
pages, controlling the appearance of HTML elements.
 Inline, internal, and external style sheets?
o Inline: Styles directly applied to an HTML element
using the style attribute.
o Internal: Styles written inside a <style> tag in the
HTML document’s <head>.
o External: A separate .css file linked to the HTML
document via <link>.
 Linking a CSS file to HTML?
Use the <link> tag in the <head>:
html
Copy code
<link rel="stylesheet" href="styles.css">
 CSS Selectors?
o Id selector: Targets an element with a specific id. E.g.,
#header {color: red;}
o Class selector: Targets elements with a specific class.
E.g., .button {color: blue;}
o Pseudo-classes: Target elements in a specific state,
like :hover for when an element is hovered over by a
mouse.
 Common CSS properties for styling?
Examples include color, font-size, margin, padding,
background-color, and border.
 Responsive web design?
A design approach where the layout adjusts to different
screen sizes (mobile, tablet, desktop) using techniques like
media queries and flexible grid layouts.
4. Bootstrap Basics
 What is Bootstrap?
Bootstrap is a popular CSS framework for creating responsive
and mobile-first websites quickly and easily.
 Responsive Web Design?
It ensures that web pages adjust to look good on all devices
(e.g., mobile, tablet, desktop).
 Linking Bootstrap to HTML?
Include the Bootstrap CSS file in your HTML document via a
<link> tag or from a CDN.
 Container class in Bootstrap?
The .container class centers your content and provides
responsive padding.
 Grid system in Bootstrap?
It divides the page into 12 columns, allowing for flexible
layout designs using classes like .col-6 for 6 columns.
 Responsive tables in Bootstrap?
Add the .table class to create a styled table and .table-
responsive to make it adjust to smaller screens.
 Glyphicons in Bootstrap?
These are icon sets included in older versions of Bootstrap,
which can be added using specific classes like glyphicon
glyphicon-search.
 Jumbotron in Bootstrap?
The .jumbotron class is used to create a large, attention-
grabbing section of content, often with a headline or call-to-
action.

You might also like