From 1109132f09d75da9a28b649c7677bb6ce07c40c0 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:45 -0500 Subject: initial commit --- files/he/web/html/element/a/index.html | 90 ++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 files/he/web/html/element/a/index.html (limited to 'files/he/web/html/element/a/index.html') diff --git a/files/he/web/html/element/a/index.html b/files/he/web/html/element/a/index.html new file mode 100644 index 0000000000..de79afa3e5 --- /dev/null +++ b/files/he/web/html/element/a/index.html @@ -0,0 +1,90 @@ +--- +title: ': תגית קישור' +slug: Web/HTML/Element/a +translation_of: Web/HTML/Element/a +--- +

{{HTMLRef}}

+ +

תגית <a> מוסיפה קישור טקסט/תמונה במסמך ה-HTML. זוהי תגית מסוג Inline המסמנת את האלמנט עצמו בלבד.

+ +

 

+ +

{{EmbedInteractiveExample("pages/tabbed/a.html", "tabbed-standard")}}

+ +

 

+ + + + + + + + + + + + + + + + + + + + +
קטגוריהתגיות Inline.
תוכן מורשהטקסטים, תמונות ומספרים +

 

+
תגיות הורים מורשותתגית זו מורשית להופיע בגוף המסמך אך אינה חייבת להיות כפופה בצורה ישירה אל תגית {{HTMLElement("body")}}.
ממשק DOM{{domxref("HTMLAnchorElement")}}
+ +

תארים

+ +

תגית זו נכללת ברשימת התארים הגלובליים.

+ +

href - משמש להוספת כתובת קישור.
+ target - קובע היכן יפתח הקישור (עמוד הנוכחי, כרטיסייה חדשה וכו').
+ id - מזהה המשמש לקישור פנימי בין עמודים.

+ +
+
+

דוגמא 1 - קישור סטנדרטי

+ +
<!-- anchor linking to external file -->
+<a href="https://www.mozilla.com/">
+External Link
+</a>
+
+
+
+

דוגמא 2 - קישור למזהה פנימי בעמוד

+ +
<!-- links to element on this page with id="attr-href" -->
+<a href="#attr-href">
+Description of Same-Page Links
+</a>
+
+
+
+
+

דוגמא 3 - תמונה לחיצה

+ +
<a href="https://developer.mozilla.org/en-US/" target="_blank">
+  <img src="https://mdn.mozillademos.org/files/6851/mdn_logo.png"
+       alt="MDN logo" />
+</a>
+
+
+
+

דוגמא 4 - קישור לדוא"ל

+ +
<a href="mailto:nowhere@mozilla.org">Send email to nowhere</a>
+
+
+
+ +

ראה גם

+ + -- cgit v1.2.3-54-g00ecf