Notes
Notes - notes.io |
1. Introduction to CSS (4.1)
لازم تعرفين:
☐ ما هي CSS؟
☐ لماذا نستخدم CSS؟
☐ الفرق بين HTML و CSS
☐ فصل المحتوى (Content) عن التنسيق (Presentation)
☐ فوائد فصل التصميم عن المحتوى
☐ CSS3
☐ CSS Validator
☐ لماذا نستخدم CSS Validator؟
2. Inline Styles (4.2)
لازم تعرفين:
☐ ما هو Inline Style؟
☐ أين يكتب؟
☐ متى يستخدم؟
☐ عيوب Inline Style
☐ كتابة style attribute
☐ طريقة كتابة أكثر من خاصية داخل style
☐ الفرق بين property و value
☐ استخدام الفاصلة المنقوطة ;
مثال:
<p style="color:red; font-size:20px;">
3. CSS Syntax
لازم تحفظين شكل القاعدة.
selector {
property: value;
}
وكذلك
selector{
property1:value1;
property2:value2;
property3:value3;
}
4. CSS Properties
لازم تعرفين:
font-size
☐ تغيير حجم الخط
color
☐ تغيير لون الخط
font-family
☐ تغيير نوع الخط
font-weight
☐ جعل الخط Bold
☐ normal
☐ bold
☐ bolder
☐ lighter
☐ القيم الرقمية من 100 إلى 900
☐ 400 = normal
☐ 700 = bold
5. Colors in CSS
لازم تعرفين:
☐ Color Names
☐ Hexadecimal Colors
مثل
color:red;
و
color:#FF0000;
ويفضل تعرفين أشهر الألوان:
☐ black
☐ white
☐ red
☐ blue
☐ green
☐ yellow
☐ purple
☐ gray
☐ aqua
☐ navy
☐ silver
☐ olive
☐ teal
☐ maroon
☐ fuchsia
☐ lime
6. Embedded Style Sheets (4.3)
لازم تعرفين:
☐ ما هو Embedded CSS؟
☐ أين يكتب؟
☐ داخل أي عنصر؟
☐ الفرق بين Inline و Embedded
مثال
<head>
<style>
</style>
</head>
7. style Element
لازم تعرفين:
☐ عنصر
<style>
☐ يكتب داخل head
8. MIME Type
لازم تعرفين:
type="text/css"
☐ ما معنى MIME Type؟
☐ لماذا نستخدم text/css؟
☐ أن type لم يعد إلزامياً في HTML5
9. CSS Rules
لازم تعرفين:
☐ ما هي Rule؟
☐ تتكون من Selector و Property و Value
☐ الأقواس {}
10. Selectors
من أهم أجزاء الشابتر.
لازم تعرفين:
HTML Element Selector
مثل
p
Class Selector
مثل
.special
ID Selector
مثل
#header
11. Style Classes
لازم تعرفين:
☐ تعريف Class
☐ لماذا نستخدمها؟
☐ يمكن استخدامها لأكثر من عنصر
☐ تبدأ بنقطة .
مثال
.special{
color:purple;
}
12. HTML Class Attribute
لازم تعرفين:
class=""
مثال
<p class="special">
13. User-defined Classes
لازم تعرفين:
كتابة Class مرتبط بعنصر معين
مثال
p.abstract
ومعناه
تطبق فقط على
<p class="abstract">
وليس أي عنصر آخر.
14. ID Selector
لازم تعرفين:
#header
ويستخدم مع
id="header"
15. font-family
لازم تعرفين:
☐ تغيير نوع الخط
☐ كتابة أكثر من Font
☐ Generic Fonts
مثل
font-family:
Arial,
Helvetica,
sans-serif;
16. Multiple Fonts
لازم تعرفين:
لماذا نكتب
Arial, Helvetica, sans-serif
ولماذا يوجد أكثر من Font؟
17. Generic Font Families
لازم تعرفين:
☐ serif
☐ sans-serif
☐ monospace
☐ cursive
☐ fantasy
18. CSS Comments
لازم تعرفين:
/* comment */
19. Separation of Content and Presentation
موضوع يتكرر كثير.
لازم تعرفين:
☐ لماذا نفصل HTML عن CSS؟
☐ ما الفائدة؟
☐ ماذا يحدث لو استخدمنا Inline دائماً؟
20. الفرق بين أنواع CSS
احفظي هذا الجدول لأنه كثير يجي بالاختبارات:
النوع المكان الأفضل؟
Inline داخل العنصر ❌
Embedded داخل head ✔
External ملف css خارجي ⭐ الأفضل
21. خصائص مهمة ظهرت في الشابتر
☐ color
☐ font-size
☐ font-family
☐ font-weight
☐ text-align
☐ margin-left
☐ margin-right
☐ font-style
22. أهم الأكواد
احفظي كتابة هذه الأكواد:
color
font-size
font-family
font-weight
font-style
text-align
margin-left
margin-right
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team
