[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'''. PërdorAi 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>) anddhe, optionallysipas alsodëshirës, theedhe attributesatributet "title", "target", anddhe "[[Cascading Style Sheets|class]]" orose "id": :<tt>&lt;a href="''URL''" title="''link title''" target="''link target''" class="''link class''"&gt;''link label''&lt;/a&gt;</tt> '''ExampleShembull:''' To embed afusni linknjë intolidhje ate Page,një blogpostfaqe, orte commentnjë postim blogu, itose mayte takenjë koment, thispërdorni formkëtë: :<code><nowiki><a href="http://example.com">ExampleShembull</a></nowiki></code> AfterPas publishingbotimit, thevargu complexi linkndërlikuar stringpër islidhjen reducedreduktohet to thediçka following forshfaqshme visualizationnga in typicalcilido [[Webshfletues browserWeb]]s i zakonshëm, siç tregohet më poshtë: [http://exampleshembull.com/ ExampleShembull] This contributes to a clean, easy to read text or document. When the pointer hovers over a link, depending on the browser and/or graphical user interface, some informative text about the link can be shown, popping up, not in a regular [[window]], but in a special [[hover]] box, which disappears when the pointer is moved away (sometimes it disappears anyway after a few seconds, and reappears when the pointer is moved away and back). [[Mozilla Firefox]], [[Internet Explorer|IE]], [[Opera (web browser)|Opera]], and many other web browsers all show the URL. In addition, the URL is commonly shown in the [[status bar]]. Normally, a link will open in the current [[framing (World Wide Web)|frame]] or window, but sites that use frames and multiple windows for navigation can add a special "target" attribute to specify where the link will be loaded. If no window exists with that name, a new window will be created with the ID, which can be used to refer to the window later in the browsing session. 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==