[Redaktim i kontrolluar][Redaktim i kontrolluar]
Content deleted Content added
Rreshti 58:
 
===Sjellja e lidhjeve në shfletuesa web===
Zakonisht një [[shfletues web]] i shfaq tejlidhjet në një mënyrë për t'i bërë të dallueshme nga pjesa tjetër e dokumentit, p.sh. me një ngjyrë tjetër, ose shkronjë tjetër, ose [[Typeface|stil]] tjetër për shkronjat. Sjellja dhe stili i lidhjeve mund të përcaktohet duke përdorur stilet (CSS) [[Cascading Style Sheets]]. Brenda një ndërfaqeje grafike përdoruesi, pamja e [[shenjues (element i konceptit WIMP në shkencat kompjuterike)|shenjues]]i mund të ndryshojë në një figurë dore, për të treguar një lidhje. Në shumicën e shfletuesve grafikë web, lidhjet shfaqen me tekst të nënvizuar dhe tradicionalisht ngjyrë blu (por ngjyra mund të zgjidhet sipas dëshirës), sa pa u vizituar dhe krijuar në fshehtinë një kopje të saj, por më pas me tekst të nënvizuar dhe me ngjyrë të purpurt. Kur përdoruesi e përdor lidhjen (p.sh. duke klikuar mbi të me miun) shfletuesi do të shfaqë objektin ku shpie lidhja. Nëse objekti nuk është kartelë HTML, në varësi të [[llojit të kartelës]], shfletuesit dhe [[Shtojcë (në shkenca kompjuterike|shtojca]]ve të tij, për hapjen e kartelës mund të aktivizohet një tjetër program. Kodi HTML përmban disa ose krejt pesë karakteristikat e një lidhje: *'''vendmbërritje lidhjeje''' ("href" që shpie te një URL) *'''[[Teskt spirance|etiketë lidhjeje]]''' *'''titull lidhjeje''' *'''objektiv lidhjeje''' *'''klasë lidhjeje''' ose '''id lidhjeje'''. Ai përdor [[Spirancë HTML|elementin HTML "a"]] me atributin "href" (HREF është një shkurtim i termit "Hypertext REFerence"<ref>[[Tim Berners-Lee]], [http://www.w3.org/Provider/ServerWriter.html Making a Server ("HREF" is for "hypertext reference")]</ref>) dhe, sipas dëshirës, edhe atributet "title", "target", dhe "[[Cascading Style Sheets|class]]" ose "id": :<tt>&lt;a href="''URL''" title="''link title''" target="''link target''" class="''link class''"&gt;''link label''&lt;/a&gt;</tt> '''Shembull:''' Që të fusni një lidhje te një faqe, te një postim blogu, ose te një koment, përdorni këtë: <code><nowiki><a href="http://example.com">Shembull</a></nowiki></code> Pas botimit, vargu i ndërlikuar për lidhjen reduktohet në diçka të shfaqshme nga cilido [[shfletues Web]] i zakonshëm, si vijon: [http://shembull.com/ Shembull] ThisKjo contributesndihmon to ateksti clean,ose easydokumenti to readjetë texti orlexueshëm qartë dhe documentlehtë. WhenKur theshenjuesi pointerkalon hoversmbi overnjë a linklidhje, depending onvarësi the browsershfletuesit anddhe/orose ndërfaqen graphicalgrafike user interfacepërdoruesit, somemund informative textshfaqet aboutedhe thendoca linktekst caninformues berreth shownlidhjes, poppingduke upu shfaqur si flluskë, notjo in anjë regulardritare [[window]]të rregullt, butpor insi anjë specialkutizë [[hover]]speciale box, whichshfaqet disappearskur whenkursori thei pointerkalon ispërsipër movedzonës awayku (sometimesajo itndodhet, disappearsdhe anyway afterzhduket asapo fewshenjuesi secondshiqet prej andej (ndonjëherë zhduket, andsido reappears when thejetë, pointerpas isdisa movedsekondash, awaydhe andrishfaqet backkur shenjuesi rikthehet te zona). [[Mozilla Firefox]], [[Internet Explorer|IE]], [[Opera (webshfletuesi browserweb)|Opera]], anddhe manymjaft othershfletues web browserstjerë allweb showi theshfaqin URL-të. InPërveç additionkësaj, the URL-ja is commonly shownzakonisht intregohet thete [[statusshtylla bare gjendjeve]]. NormallyZakonisht, anjë linklidhje willdo open inhapet the currentte [[framing (World Wide Web)|framekorniza]] orose windowdritarja e çastit, butpor sitessite-et that usepërdorin framespër andshfletim multiplekorniza windowsdhe fordritare navigation canshumëfishta addmund atë shtojnë një atribut special "target" attribute totë specifikohet specifyse whereku thedo link willhapet benjë loadedlidhje. IfNëse nonuk windowekziston existsdritare withme thatatë nameemër, ado new windowkrijohet willnjë bedritare createde withre theme ID, whiche cancila bemund used topërdoret refer topas, thegjatë windowsesionit latertë shfletimit, insi thereferencë browsingpër sessiondritaren. <!--Some developers may choose to capitalize links, to reflect server side interaction such as forms, or abbreviations. Capitalizing is OKAY-->. Creation of new windows is probably the most common use of the "target" attribute. In order to prevent accidental reuse of a window, the special window names "_blank" and "_new" are usually available, and will always cause a new window to be created. It is especially common to see this type of link when one large website links to an external page. The intention in that case is to ensure that the person browsing is aware that there is no endorsement of the site being linked to by the site that was linked from. However, the attribute is sometimes overused and can sometimes cause many windows to be created even while browsing a single site. Another special page name is "_top", which causes any frames in the current window to be cleared away so that browsing can continue in the full window.
 
==Historiku i tejlidhjeve==