الروابط
تحتاج هذه الصفحة إلى متصفح حديث (يدعم SharedArrayBuffer). يرجى تحديث Chrome أو Edge أو Firefox أو Safari إلى أحدث إصدار.
English
Links
- A link takes you to another page when you click it.
- Use the
<a>tag (astands for anchor). - The web address goes in
href:<a href="...">.

English
<a href="https://example.com">Visit Example</a>
English
href is an attribute
href="..."is an attribute — extra information inside the opening tag.- The text between
<a>and</a>is what the reader sees and clicks. - Use the full address, starting with
https://.
English
<p>Need facts? <a href="https://wikipedia.org">Look it up</a> now.</p>
English
Common mistakes
- A link needs an
href. - Open a link in a new tab with
target="_blank".
English
Now you try
- A link can stand alone, or sit inside a sentence.
- Build one of each below.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
Add a link to https://example.com with the words Visit Example.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
Turn the words look it up into a link to https://wikipedia.org, without breaking the sentence.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
Make the link to https://example.com open in a new tab by adding target="_blank" to the <a> tag.