WorksheetsLecture 02
Total questions: 10
Worksheet time: 5mins
الكود التالي يمكننا عند الضغط على كلمة "اضغط هنا" الذهاب إلى موقع جوجل
<a href="https://google.com"> اضغط هنا <a/>
<a ref="https://google.com"> اضغط هنا </a>
<a href="https://google.com"> اضغط هنا </a>
<a href="https://google.com" اضغط هنا />
لعمل data list نستخدم الأكواد التالية
<dl>
<dd>
</dd>
<dt>
</dt>
</dl>
لربط صفحة
HTML
مع ملف
CSS
نضيف السطر التالي
<head>
<link rel=“stylesheet” href=“styles.css”>
</head>
<style>
<link rel=“stylesheet” href=“styles.css”>
</style>
<header>
<link rel=“stylesheet” href=“styles.css”>
</header>
<style>
<link rel=“stylesheet” href=“styles.css” />
</style>
لفصل الكلام على سطرين نستخدم التاج
<br/>
لعمل قائمة من العناصر غير المرقمة لاستخدامها في قائمة الموقهع الرئيسية نستخدم
<ol></ol>
<ui></ui>
<li></li>
<ul></ul>
الكود المطلوب للانتقال من
index.html
إلى صفحة
about.html
<a href="/about.html">About </a>
<a href="about.html">About </a>
<a href="../about.html">About </a>
<a href="./about.html">About </a>
لاضافة صورة بكود
<img src="logo.png" >
للحصول على الشكل التالي نستخدم الكود
<h1>You have fun. <b>We'll handle the cooking.</b> Black Goose Catering can handle events </h1>
<h1>You have fun. <em>We'll handle the cooking.</em> Black Goose <br>Catering can handle events </h1>
<h1>You have fun. We'll handle the cooking. Black Goose
Catering can handle events </h1>
<h1>You have fun. We'll handle the cooking. Black Goose <br>Catering can handle events </h1>
الشكل العام لملف
html
<!DOCTYPE html />
<html>
<header><title>العنوان</title></header>
<body></body>
</html>
يمكننا تمييز مجموعة من العناصر من خلال
استخدام
ID
في احد الوسوم
استخدام
class
في احد الوسوم
استخدام
ID
في وسم الفتح فقط
استخدام
class
في وسم الفتح فقط
