Web Programming

Page 1

1


2


“#” followed by an anchor identifier is used to point to a location within a document. For instance, here is a URI pointing to an anchor named Heap: http://en.wikipedia.org/wiki/Java_Virtual_Machine#Hea p. A relative URI is URI relative to the current location. <a href=“Register.html">New User</a> <img src="../images/MindTreeLogo.gif" alt="logo">

3


Refer: http://en.wikipedia.org/wiki/Uniform_Resource_Identifier for more information on URI

4


5


6


7


8


9


10


11


For each selector contains declaration inside curly brackets, Each declaration consists of a property and a value.

12


The benefit of this is that you can have the same HTML element, but present it differently depending on its class or ID. The difference between an ID and a class is that an ID can be used to identify one element, whereas a class can be used to identify more than one element. You can also apply a selector to a specific HTML element, so div.errDiv { } will only be applied to div elements that have the class ‘errDiv'.

13


14


15


16


17


18


For other events refer: http://www.w3schools.com/jsref/dom_obj_event.asp

19


20


21


22


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.