[go: up one dir, main page]

0% found this document useful (0 votes)
38 views5 pages

Unit 3 notes

Uploaded by

ictlab1514013
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)
38 views5 pages

Unit 3 notes

Uploaded by

ictlab1514013
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/ 5

Unit:- 4 ( Advanced Features of Web-Design)

1. What is Add-ins and what are the steps to install add-in?


Ans: - Add-ins extends the capability of the main program by adding enhanced custom
commands and specialized features. You can download a variety of Add-ins from:

http://msdn.microsoft.com/en-us/expression/jj873995.aspx
http://www.webassist.com/go/xweb-add-ins

Once you have downloaded an Add-in, use the following procedure to install the Add-in:
1) Select Tools > Add-ins. The Manage Add-ins dialog box appears.
2) Select Install…. Browse and select the Add-in and then click Open.
3) Select Yes.
4) Repeat the procedure to include more Add-ins.

2. What is Snippets and how to use the snippets?


Ans: - Snippets are pieces of programs re-used by most developers. Snippets are useful as
you can keep reusing the code created many times across multiple web pages or web sites
saving enormous amount of time and effort. To view and insert the available snippets, do the
following:

1) Select Panels > Snippets. Notice the list of snippets available separated into categories
such as CSS, HTML, JavaScript, JQuery, etc.
2) To insert a snippet, do the following:
a) Create a new page. Place the cursor where you want the snippet to be placed.
b) Select View > Page > Code. (Snippets can be inserted only in Split or Code View).
c) Expand HTML, expand Hyperlink folder.
d) Double-click on a snippet, for example: Add to favorites. Notice the code is added
to the web page.

3. What is PSD Templates? How can we link PSD to MEW?


Ans: - As a web designer, you need to create pages that are attractive and simple.
Remember that along with showcasing content to a visitor and the design also needs to be
pleasant, encouraging them to repeat their visit to the website.

Steps to LINK PSD & MEW


Also there is a special feature that can be used for updating an image whenever the
original (.PSD) Photoshop image is modified. To understand how to use this feature, do
the following:

Import a .PSD (Photoshop files use this extension) file and do the following:
1) Create a new web page, save the file as psd.html.
2) Select File > Import > Adobe Photoshop (.psd)
3) Browse and select the file. Click Open. Import Adobe Photoshop File dialog box Appears.
4) You can select the layers you want to import using the options in the left pane. Select
Compatibility Image located at right bottom and click OK.
Unit:- 3 (Web scripting Java Script)

Que 1:- What is Java Script?

Ans: -
1. JavaScript is a cross-platform, object-oriented scripting language.
2. JavaScript is a small, lightweight language. It is not useful as a standalone language, but is
designed for easy embedding in other products and applications, such as web browsers.
3. Inside a host environment, JavaScript can be connected to the objects of its environment
to provide programmatic control over them.

Que 2:- What is Difference between client side java script and server side java script?
Ans 2:-
 Client-side JavaScript extends the core language by supplying objects to
control a browser (Navigator or another web browser) and its Document
Object Model (DOM).
For example, client-side extensions allow an application to place elements on an
HTML form and respond to user events such as mouse clicks, form input, and page
navigation.
 Server-side JavaScript extends the core language by supplying objects
relevant to running JavaScript on a server.
For example, server-side extensions allow an application to communicate with a
relational database, provide continuity of information from one invocation to
another of the application, or perform file manipulations on a server.

Que 3:- What are the Uses of Java Script?


Ans 3:-

1. Developing Multimedia Applications


The users can use JavaScript to add multimedia elements. With JavaScript you can
show, hide, change, resize images and create images rollovers. You can create scrolling
text across the status bar, thus making multimedia applications more interactive.
2. Create Pages Dynamically
Based on the user’s choice, the date or other external data, JavaScript can produce
pages that are customized to the user.
3. Interact with the User
JavaScript can do some processing of forms and can validate user input when the
user submits the form.
4. JavaScript Objects are Similar to Dictionaries
In JavaScript, objects are just collections of name-value pairs. JavaScript objects are
considered as a dictionary with string keys. The users can get and set the
properties of an object using either the familiar "." (dot) operator, or the "[ ]"
operator, which is typically used when dealing with a dictionary.

Que 4:- Explain the features of JavaScript?


Ans:

1. Browser Support

All browsers have accepted JavaScript as a scripting language and provide integrated support
for it. For example, to access flash content, you need to install flash plug-in in your browser.
But to use JavaScript, you don't have to use any plug-in at all.

2. JavaScript can be used on Client Side as well as on Server Side

JavaScript has access to Document Object Model DOM of browser. You can change the
structure of web pages at runtime. Thus, JavaScript can be used to add different effects to
WebPages. On the other hand, JavaScript could be used on the server side as well.

3. Functional Programming Language

In JavaScript, function could be assigned to variables just like any other data types. A function
can accept another function as a parameter and can also return a function. You can have
functions with no name as well. This provides you the ability to code in functional
programming style.

4. Support for Objects

JavaScript is an object oriented language. However, the way JavaScript handles objects and
inheritance is bit different from conventional object oriented programming languages like C+
+/ Java.

5. Run-time Environment

JavaScript typically relies on a run-time environment (e.g. in a web browser) to provide objects
and methods by which scripts can interact with "the outside world".

6. Vendor-specific Extensions

JavaScript is officially managed by Mozilla Foundation, and new language features


are add ed periodically. However, only some JavaScript engines support these new
features.

7. Object based Features Supported by JavaScript


JavaScript supports various features related to object based language and JavaScript is
sometimes referred to as an object-based programming language
Que 5:- What is script tag?
Ans: The <script> tag alerts a browser that JavaScript code follows. It is typically embedded
in the HTML.
<script language=”java Script”>
Statements....
</script>

You might also like