Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
the onerror event handler executes the indicated javascript code or function onto the occurrence of an error event it happens while an image or
onload amp onunload are mainly utilized for popups that appear while the user enters or leaves the page another significant use is in combination
an event handler executes segment of code depend on certain events occurring in the application like onclick or onload javascript event handlers can
events are actions which can be detected through javascript an example would be the on mouse over event that is detected while the user moves the
the prompt box lets the user to enter information the advantage of using a prompt are fairly restricted and the use of forms would frequently be
the javascript confirm alert box differs through a regular alert box in which it provides two choices to the user ok amp cancel typically youll see
in this the user cannot switch to the window without closing the existing window this sort of dialog box is referred to as a modal dialog box you
in this section we learn about the dialog boxes this topic is significant for understanding the way parameters are passed among distinct windows this
this is part of a window object amp it is accessed by the window location property it has the complete url of any given window object or if none is
this is a predefined javascript object that is accessible by the history property of a window object the window history property is array of url
it is used to store a set of values in single variable name each of value is an element of the array and contains related index number you can refer
the date object is utilized to work with dates amp timescreating a date instanceyou must create an instance of the date object along with the new
predefined objectslet us assume some of the most frequently utilized predefined objects provided in javascriptmath objectin most of the applications
propertydescriptionalinkcolorthe color of active linksbgcolorthe background color of web page this is set in the ampltbodyampgt tag the following
a javascript object is an example of data type object is given a unique name amp the set of properties of the corresponding object might be accessed
a function is a deferred script since it does not do anything till a function an event a javascript link or an immediate script calls it you have
deferred scripts do not immediately do anything to use deferred commands you have to call them from outside the deferred script there are three
a value the data assigned to a variable may contain any sort of data though javascript considers data to fall into many possible types based on the
while you declare a variable in a function the variable can be accessed within that function only while you exit the function the variable is
you can declare a variable by the var statement such asvar strname some valueyou can also declare a variable with simply assigning a value to the
in this unit we have learnt how to create simple html pages the contents of the page have to be written within the body tag the head tag includes the
design a single page web site for a store listing the products and services offered the store sells computers and related products the site should
this attribute is utilized to alter the font style its value must be given as the name of the wanted font but the font name mention should be present
text formatting in other terms presenting the text on an html page in a wanted manner is significant part of developing a web page let us understand
the only thing you need to concern yourselves with in the head tag for now is the title tagthe bulk of the page will be in the body tag as