Skip to content

Latest commit

 

History

History
59 lines (33 loc) · 2.55 KB

File metadata and controls

59 lines (33 loc) · 2.55 KB

Links to navigation between pages inside website . the link have many type ● Links from one website to another. href must contain full address.

another website

● Links from one page to another on the same website. href must contain relative URL. inside page

● Links from one part of a web page to another part of the same page. if you want make the user navigation inside the page itself using the id to this part for example . inside page

● Links that open in a new browser window. If you want to open the link in a new window, use the target of the attribute and give that _blank value.

target-blank ● Links that start up your email program and address a new email to someone.

href attribute starts with mailto: and is followed by the email address you want the email to be sent to.

email

how write the link ? using tage a .

tag a.

note

when write text link make that more related with the actual link. Website Layout.

A website is often divided into headers, menus, content and a footer: The z-index property specifies the stack order of an element.

z-index.

The position property specifies the type of positioning method used for an element.

An element with position: static; is not positioned in any special way; it is always positioned according to the normal flow of the page. position: relative; An element with position: relative; is positioned relative to its normal position.

An element with position: fixed; is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled. The top, right, bottom, and left properties are used to position the element.

An element with position: absolute; is positioned relative to the nearest positioned ancestor (instead of positioned relative to the viewport, like fixed).

function function consist of many statement to execute the specific task this example tow create function using javascript function sum(){ var x=10; var y=20 var z= x+y; }

tow call this function write the name the parntheses

example sum() # object consist of method and function ## object properties roperties are the values associated with a JavaScript object.

A JavaScript object is a collection of unordered properties.

Properties can usually be changed, added, and deleted, but some are read only. example objectName.property // person.age

quiz Which of the following is called absolut link ?

● Links from one page to another on the same website.

● Links from one part of a web page to another part of the.

● Links from one website to another.

● Links that open in a new browser window.