fix: converted single to triple backticks5 (#36232)

This commit is contained in:
Randell Dawson
2019-06-20 14:14:23 -07:00
committed by Tom
parent 63a0fa745b
commit fce8901c56
75 changed files with 1299 additions and 1139 deletions

View File

@@ -9,12 +9,14 @@ localeTitle: إضافة زر إرسال إلى نموذج
1) تكون قيمة `submit` `type` السمة صالحة أيضًا داخل علامة `input` وستعرض زرًا له نفس السلوك تقريبًا ، ولكن هذه ليست العلامة التي تريد استخدامها في هذا التحدي.
`<input type="submit">
`
```
<input type="submit">
```
إذا لم تحدد قيمة ، فسيحتوي الزر على قيمة افتراضية تم اختيارها من قِبل وكيل المستخدم (عادةً ما يكون هذا بمثابة "إرسال" أو "إرسال الاستعلام").
إذا كنت ترغب في تحديد قيمة مثل "إرسال طلب" ، فيمكنك إجراء ذلك على النحو التالي:
`<input type="submit" value="Send Request">
`
```
<input type="submit" value="Send Request">
```

View File

@@ -8,8 +8,9 @@ localeTitle: تعليق من HTML
مثال:
`<!-- code -->
`
```
<!-- code -->
```
subElement | وصف ---------- | ----------- `<!--` | علامة الفتح كود | نص علق `-->` | علامة الإغلاق

View File

@@ -10,20 +10,22 @@ localeTitle: قم بإنشاء قائمة غير مرتبة بالعدادات
صيح:
`<ul>
<li></li>
<li></li>
</ul>
`
```
<ul>
<li></li>
<li></li>
</ul>
```
غير صحيح:
`<ul>
<li>
<li>
</li>
</li>
</ul>
`
```
<ul>
<li>
<li>
</li>
</li>
</ul>
```
حظا طيبا وفقك الله!

View File

@@ -8,10 +8,11 @@ localeTitle: مقدمة إلى عناصر HTML5
المثال أدناه يمثل عنصر `h1` وعنصر `h4` ملفوفًا في عنصر `header` :
`<header>
<h1> Big title </h1>
<h4> Tiny subtitle </h4>
</header>
`
```
<header>
<h1> Big title </h1>
<h4> Tiny subtitle </h4>
</header>
```
كما ترى ، يحتوي `header` على العناصر الأخرى التي تنتهي في نفس المستوى (ينتهي `h1` قبل بدء `h4` ويكون كلاهما متداخلين في `header` ).

View File

@@ -6,12 +6,13 @@ localeTitle: Uncomment HTML
موضوع التعليق غالبًا ما يكون مربكًا بعض الشيء في البداية. انظر الى المثال:
`<!-- This is a commented block.
It doesn't matter how long it is, if it has <h1>HTML elements</h1> in it or if it develops
into
few lines,
everything between the first weird series of character and the last is commented out -->
`
```
<!-- This is a commented block.
It doesn't matter how long it is, if it has <h1>HTML elements</h1> in it or if it develops
into
few lines,
everything between the first weird series of character and the last is commented out -->
```
يمكنك استخدام التعليق في الخط أيضا: `<!-- Uh, I does not exists! -->` وهنا!
@@ -21,19 +22,22 @@ localeTitle: Uncomment HTML
Uncomment تعني إخراج الأشياء من نص التعليق: لإزالة unicment عنصر h3 في الجملة التالية (التي تم التعليق عليها كلها):
`<!-- <h1>Comment header</h1> <h3>Comment subtle</h3> <article>I am the text of the comment</article> -->
`
```
<!-- <h1>Comment header</h1> <h3>Comment subtle</h3> <article>I am the text of the comment</article> -->
```
سهل مثل:
`<!-- <h1>Comment header</h1> --> <h3>Comment subtle</h3> <!-- <article>I am the text of the comment</article> -->
`
```
<!-- <h1>Comment header</h1> --> <h3>Comment subtle</h3> <!-- <article>I am the text of the comment</article> -->
```
لاحظ كيف تمت إضافة علامة تعليق إغلاق ( `-->` ) قبل عنصر HTML h3 لمطابقة علامة التعليق الافتتاحية في بداية الجملة وإضافة علامة تعليق افتتاحية ( `<!--` ) بعدها لتتطابق مع الإغلاق علامة في النهاية: بهذه الطريقة ، تكون قد أنشأت تعليقين مضمّنين ​​، أحدهما قبل عنصر h3 والآخر بعد !.
إذا كنت تريد إلغاء ربط كل شيء ، سيكون الأمر أسهل:
`<h1>Comment header</h1> <h3>Comment subtle</h3> <article>I am the text of the comment</article>
`
```
<h1>Comment header</h1> <h3>Comment subtle</h3> <article>I am the text of the comment</article>
```
ما عليك سوى إزالة علامة الفتح والإغلاق للتعليق.