Web Systems and Technologies Questions Answers
Web Systems and Technologies Questions Answers
Web Systems and Technologies Questions Answers
1. What four components are needed to create a fully dynamic web page. A web server
(such as Apache), a server-side scripting language (PHP), a database (MySQL), and a
client-side scripting language (JavaScript) are used to create a dynamic web page.
2. List three major new elements introduced in html.
There are many new elements that are introduced in html like;
<header> Defines a header for a document or section
<main> Defines the main content of a document <footer> Defines a
footer for a document or section. <section> Define a section in a
document.
3. What is the difference between XAMPP ,WAMP , LAMP and MAMP ?
• Full form of LAMP is Linux, Apache, MySQL and PHP. Lamp is for Linux operating
system
• Full form of WAMP is Windows, Apache, MySQL and PHP. Wamp is for windows
operating system
• Mamp is for Mac OS X operating system
• xampp is for x-os, apache, mysql, php , perl.
4. Why is better to use a program editor instead of plain-text editor. Dedicated program
editors are smart and can highlight problems in your code before you even run
it.therefore we use program editor instead of plain text-editor.
5. What are the building block of web.
There are the some building blocks that make your website more attractive and give
good look and feel. Some are given below:
• Plan Your Website.
• Define your goals and objectives for the website
• Determine the look and feel of the website
• Brainstorm ideas for a website address
• Use an attractive, professional-looking design
• Promote Your Website
• Once you publish your website, invite feedback
Contact Information:
11.What is JavaScript?
An object-oriented computer programming language commonly used to create
interactive effects within web browsers.
Subjective Part
What is HTTP?
The Hypertext Transfer Protocol (HTTP) is designed to enable communications between clients
and servers.
A web browser may be the client, and an application on a computer that hosts a web site may be
the server.
Example: A client (browser) submits an HTTP request to the server; then the server returns
a response to the client. The response contains status information about the request and
may also contain the requested content. Two HTTP Request Methods: GET and POST
Method Description
Flush()
HEAD Sends
Sameall as
currently
GET butbuffered output
returns only to the
HTTP client.and no document body
headers
PUT
GetType() Gets the Type
Uploads of the current instance.(Inherited
a representation of the specified URIfrom Object.)
What is CSS ?
Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a
document written in a markup language. CSS is also designed primarily to enable the separation of
presentation and content, including aspects such as the layout, colors, and fonts.
Types of Stylesheet
Use inline stylesheets when you want to apply a style to a single occurence of an element.
Inline stylesheets are declared within individual tags and affect those tags only.
Inline stylesheets are declared with the style attribute. Example:
<p style="color:gray">This text will be gray.</p>
Use an internal stylesheet when you want an HTML document to have a unique style. An
internal stylesheet is defined using the <style> tag and goes in the head section of an HTML
document.
The <style> tag specifies the content type of a stylesheet with its type attribute which should
be set to "text/css".
Syntax:
<style type="text/css"> styles go here </style>
An external stylesheet is declared in an external file with a .css extension. It is called by pages whose
interface it will affect. External stylesheets are called using the <link> tag which should be placed in the
head section of an HTML document.
• rel - When using an external stylesheet on a webpage, this attribute takes the value
"stylesheet"
• type - When using an external stylesheet on a webpage, this attribute takes the value "text/css"
• href - Denotes the name and location of the external stylesheet to be used.
3. Briefly explain what is a new in HTML5?
In the new world of HTML 5 some things will remain the same, some will go away and many will
be added. In this article we will take a look specifically at what's new with the global
(sometimes called standard) attributes. Global attributes are those attributes that apply to all
HTML elements.
Tag Description
<bdi> Isolates a part of text that might be formatted in a different direction from other text outside it
<details> Defines additional details that the user can view or hide
<dialog> Defines a dialog box or window
<menuitem> Defines a command/menu item that the user can invoke from a popup menu
<meter> Defines a scalar measurement within a known range (a gauge)
<rp> Defines what to show in browsers that do not support ruby annotations
<rt> Defines an explanation/pronunciation of characters (for East Asian typography)
• color • autocomplete
• date • autofocus
• datetime • form
• datetime-local • formaction
• email • formenctype
• month • formmethod
• number • formnovalidate
• range • formtarget
• search • height and width
• tel • list
• time • min and max
• url • multiple
• week • pattern (regexp)
• placeholder
• required
• step
Tag Description
<source>
Defines multiple media resources for media elements (<video> and <audio>)
<track> Defines text tracks for media elements (<video> and <audio>)
<video> Defines video or movie
<script type="text/javascript">
function diamond(val){
document.write('<br>');
}
document.write('</center>');
}
</script>
</body>
</html>
Output :
function diamond(10)
*
**
***
****
*****
******
*******
********
*********
**********
*********
********
*******
******
*****
****
***
**
*