aboutsummaryrefslogtreecommitdiff
path: root/files/he/web/html/element/em/index.html
blob: 469e73abe7971dc00efda7518240ad10fad5c5a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
title: '<em>: תגית להדגשת טקסט'
slug: Web/HTML/Element/em
translation_of: Web/HTML/Element/em
---
<div>{{HTMLRef}}</div>

<p dir="rtl">תגית <strong><code>&lt;em&gt;</code></strong> מציגה פסקת טקסט באופן מודגש.</p>

<p>{{EmbedInteractiveExample("pages/tabbed/em.html", "tabbed-standard")}}</p>

<table>
 <tbody>
  <tr>
   <th>קטגוריה</th>
   <td>תגיות מסוג Inline.</td>
  </tr>
  <tr>
   <th>תוכן מורשה</th>
   <td>
    <p><code>&lt;abbr&gt;</code><code>&lt;audio&gt;</code><code>&lt;b&gt;</code><code>&lt;bdo&gt;</code><code>&lt;br&gt;</code><code>&lt;button&gt;</code><code>&lt;canvas&gt;</code><code>&lt;cite&gt;</code><code>&lt;code&gt;</code><code>&lt;command&gt;</code><code>&lt;data&gt;</code><code>&lt;datalist&gt;</code><code>&lt;dfn&gt;</code><code>&lt;em&gt;</code><code>&lt;embed&gt;</code><code>&lt;i&gt;</code><code>&lt;iframe&gt;</code><code>&lt;img&gt;</code><code>&lt;input&gt;</code><code>&lt;kbd&gt;</code><code>&lt;keygen&gt;</code><code>&lt;label&gt;</code><code>&lt;mark&gt;</code><code>&lt;math&gt;</code><code>&lt;meter&gt;</code><code>&lt;noscript&gt;</code><code>&lt;object&gt;</code><code>&lt;output&gt;</code><code>&lt;progress&gt;</code><code>&lt;q&gt;</code><code>&lt;ruby&gt;</code><code>&lt;samp&gt;</code><code>&lt;script&gt;</code><code>&lt;select&gt;</code><code>&lt;small&gt;</code><code>&lt;span&gt;</code><code>&lt;strong&gt;</code><code>&lt;sub&gt;</code><code>&lt;sup&gt;</code><code>&lt;svg&gt;</code><code>&lt;textarea&gt;</code><code>&lt;time&gt;</code><code>&lt;var&gt;</code><code>&lt;video&gt;</code><code>&lt;wbr&gt;</code></p>
   </td>
  </tr>
  <tr>
   <th>תגיות הורים מורשות</th>
   <td>תגית זו מורשת להופיע בגוף המסמך אך אינה חייבת להיות כפופה בצורה ישירה אל תגית {{HTMLElement("body")}}.</td>
  </tr>
  <tr>
   <th scope="row">ממשק DOM</th>
   <td>{{domxref("HTMLElement")}}</td>
  </tr>
 </tbody>
</table>

<h2 dir="rtl" id="תארים">תארים</h2>

<p dir="rtl">אלמנט זה כולל את <a href="https://developer.mozilla.org/he/docs/Web/HTML/%D7%AA%D7%90%D7%A8%D7%99%D7%9D_%D7%92%D7%9C%D7%95%D7%91%D7%9C%D7%99%D7%99%D7%9D">התארים הגלובליים</a> בלבד.</p>

<dl>
 <dt dir="rtl">
 <h2 dir="rtl" id="דוגמא_-_שימוש_בסיסי_בתגית">דוגמא - שימוש בסיסי בתגית</h2>

 <pre>&lt;p&gt;Before proceeding, &lt;strong&gt;make sure you put on your safety goggles&lt;/strong&gt;.&lt;/p&gt;
</pre>

 <h2 dir="rtl" id="דוגמא_-_שימוש_בתגית_לצורך_תוית_אזהרה">דוגמא - שימוש בתגית לצורך תוית אזהרה</h2>

 <pre>&lt;p&gt;&lt;strong&gt;Important:&lt;/strong&gt; Before proceeding, make sure you add plenty of butter.&lt;/p&gt;
</pre>
 </dt>
</dl>

<h2 dir="rtl" id="הערות">הערות</h2>

<p><u>מה ההבדל בין תגית <strong><code>&lt;strong&gt;</code></strong> לתגית <strong><code>&lt;b&gt;</code></strong>?</u><br>
 שתיהן מדגישות את הטקסט בתוך התגית, אך משמעותה של תגית &lt;b&gt; היא השפעה על העיצוב בלבד.  מאידך, כאשר גולשים אל אתר מותאם ולוחצים על הקראה, הדפדפן רואה את תגית &lt;strong&gt; ויודע שיש צורך לקרוא את הטקסט ולהדגיש את הנמצא תחתיה.</p>

<h2 dir="rtl" id="ראה_גם">ראה גם</h2>

<ul>
 <li>{{HTMLElement("strong")}}</li>
 <li>{{HTMLElement("b")}}</li>
 <li>{{cssxref("font-weight")}}</li>
</ul>