[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 (njëelement nga elementët ei konceptit WIMP në shkencat kompjuterike)|shenjues]]i mund të ndryshojë në një figurë dore, për të treguar një lidhje. In mostshumicën graphicale shfletuesve grafikë web, browserslidhjet shfaqen me tekst të nënvizuar dhe tradicionalisht ngjyrë blu (por ngjyra mund të zgjidhet sipas dëshirës), linkssa arepa displayedu invizituar underlineddhe bluekrijuar text whenfshehtinë notnjë [[cached]]kopje të saj, butpor underlined purplepas textme whentekst cached. Whennënvizuar thedhe [[userme (computing)|user]]ngjyrë activates thepurpurt. linkKur përdoruesi (e përdor lidhjen (p.gsh. duke klikuar by clicking on it with the mouse) the browser will display the target of the link. If the target is not an HTML file, depending on the [[file type]] and on the browser and its [[Plug-in (computing)|plugins]], another program may be activated to open the file. The HTML code contains some or all of the five main characteristics of a link: *'''link destination''' ("href" pointing to a URL) *'''[[Anchor text|link label]]''' *'''link title''' *'''link target''' *'''link class''' or '''link id''' It uses the [[HTML anchor|HTML element "a"]] with the attribute "href" (HREF is an abbreviation for "Hypertext REFerence"<ref>[[Tim Berners-Lee]], [http://www.w3.org/Provider/ServerWriter.html Making a Server ("HREF" is for "hypertext reference")]</ref>) and optionally also the attributes "title", "target", and "[[Cascading Style Sheets|class]]" or "id": :<tt>&lt;a href="''URL''" title="''link title''" target="''link target''" class="''link class''"&gt;''link label''&lt;/a&gt;</tt> '''Example:''' To embed a link into a Page, blogpost, or comment, it may take this form: :<code><nowiki><a href="http://example.com">Example</a></nowiki></code> After publishing, the complex link string is reduced to the following for visualization in typical [[Web browser]]s: [http://example.com/ Example] 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==