- Jan 2025
-
www.w3schools.com www.w3schools.com
-
The :first-child pseudo-class matches a specified element that is the first child of another element.
الـ :first-child هي pseudo-class تُستخدم في CSS لتحديد العنصر الذي يكون الابن الأول لعنصر أب . هذا يعني أنها تطابق العنصر الأول داخل حاوية إذا كان هذا العنصر هو أول طفل لها.
-
-
www.w3schools.com www.w3schools.com
-
normal flow
static
-
relative to the viewport
نسبي إلى نافذة العرض
-
djusted
يتم تعديلها
-
Other content will not be adjusted to fit into any gap left by the element.
لن يتم تعديل المحتوى الآخر ليتناسب مع أي فجوة يتركها العنصر.
-
-
www.w3schools.com www.w3schools.com
-
unusable
غير صالح للاستخدام
-
Note: Input restrictions are not foolproof, and JavaScript provides many ways to add illegal input. To safely restrict input, it must also be checked by the receiver (the server)!
ملاحظة: قيود الإدخال ليست مضمونة، وتوفر JavaScript العديد من الطرق لإضافة إدخال غير قانوني. لتقييد الإدخال بأمان، يجب أيضًا التحقق منه بواسطة المستقبل (الخادم)!
-
legal number
الرقم القانوني
-
-
www.w3schools.com www.w3schools.com
-
The novalidate attribute is a boolean attribute.
عند إضافة الخاصية novalidate إلى عنصر <form>، يتم تجاوز جميع عمليات التحقق التلقائية التي يقوم بها المتصفح عند إرسال النموذج.
-
Useful for form submissions where a user wants to bookmark the result
عند استخدام method="get"، يتم إرسال بيانات النموذج كجزء من عنوان URL . هذا يجعل النتائج قابلة للمرجعة أو الحفظ (bookmarked) بسهولة.
-
Tip: If the action attribute is omitted, the action is set to the current page.
إذا لم يتم تحديد الخاصية action في <form>، سيتم إرسال النموذج إلى الصفحة الحالية.
-
-
www.w3schools.com www.w3schools.com
-
indentation
المسافة البادئة
-
-
www.w3schools.com www.w3schools.com
-
highest priority,
الأولوية القصوى
-
-
www.w3schools.com www.w3schools.com
-
The <img> element is used by browsers that do not support the <picture> element, or if none of the <source> tags match.
يُستخدم عنصر
بواسطة المتصفحات التي لا تدعم عنصر <picture>، أو إذا لم يتطابق أي من علامات <source>.
-
attribute that defines when the image is the most suitable.
تحدد متى تكون الصورة هي الأكثر ملاءمة.
-
-
www.w3schools.com www.w3schools.com
-
the web page might flicker while the image loads.
قد تظهر صفحة الويب بشكل متقطع أثناء تحميل الصورة
-
When a web page loads, it is the browser, at that moment, that gets the image from a web server and inserts it into the page. Therefore, make sure that the image actually stays in the same spot in relation to the web page, otherwise your visitors will get a broken link icon. The broken link icon and the alt text are shown if the browser cannot find the image.
عند تحميل صفحة الويب، يقوم المتصفح في تلك اللحظة بجلب الصورة من خادم الويب وإدراجها في الصفحة. لذلك، تأكد من أن الصورة تبقى في نفس الموقع المرتبط بصفحة الويب، وإلا سيظهر لزوارك رمز رابط مكسور. يظهر رمز الرابط المكسور ونص alt إذا لم يتمكن المتصفح من العثور على الصورة.
-
The <img> tag creates a holding space for the referenced image.
علامة img تُنشئ مساحة مخصصة لعرض الصورة المشار إليها.
-
-
www.w3schools.com www.w3schools.com
-
background: #ffffff url("img_tree.png") no-repeat right top;
background-color, background-image, background-repeat, background-attachment, background-position
-
background: #ffffff url("img_tree.png") no-repeat right top;
حفظ الترتيب
-
-
www.w3schools.com www.w3schools.com
-
(will not scroll with the rest of the page):
قصدو بال fixed رح تضلها ثابتة مكانها
-
(will not scroll with the rest of the page):
قصدو بال fixed رح تضلها ثابتة مكانها
-
-
www.w3schools.com www.w3schools.com
-
opaque).
معتم
-
0.3;}
القيمة الافتراضية للعتامة هي 1
-
-
www.w3schools.com www.w3schools.com
-
exact value is not important
القيمة الدقيقة ليست مهمة
-
with no time zone.
بدون منطقة زمنية.
-
-
www.w3schools.com www.w3schools.com
-
horizontally center the element within its container.
auto لجعل المتصفح يوزع هذه المساحة بالتساوي بين الجوانب الأيسر والأيمن، مما يؤدي إلى محاذاة أفقية (Horizontally Centering) للعنصر.
-
you can set the margins to auto
باستخدام margin: auto، يتم توزيع المساحة المتبقية على الجانبين الأيمن والأيسر بالتساوي.
-
-
www.w3schools.com www.w3schools.com
-
hide and show elements without deleting and recreating them.
إخفاء العناصر وإظهارها دون حذفها وإعادة إنشائها.
-
-
www.w3schools.com www.w3schools.com
-
Note: Using a percentage as the size unit for a width means how wide will this element be compared to its parent element, which in this case is the <body> element.
ملاحظة: إن استخدام النسبة المئوية كوحدة حجم للعرض يعني مدى عرض هذا العنصر مقارنة بالعنصر الأصلي، والذي في هذه الحالة هو عنصر body.
-
-
www.w3schools.com www.w3schools.com
-
pixels/16=em
اذا بدي احول من em من % نضرب ب 100%
-
Set Font Size With Em
إذا كان حجم الخط الأساسي = 16px: 1em = 100% (لأن 1em يعني الحجم الكامل للعنصر الحاوي). 0.5em = 50%. 2em = 200%.
-
-
www.w3schools.com www.w3schools.comCSS字體3
-
They create a mechanical look.
إنها تخلق مظهرًا ميكانيكيًا.
-
create a modern and minimalistic look.
خلق مظهر عصري وبسيط
-
create a sense of formality and elegance.
خلق إحساس بالرسمية والأناقة
-
-
www.w3schools.com www.w3schools.com
-
Note: Remember that the height and width properties do not include padding, borders, or margins! They set the height/width of the area inside the padding, border, and margin of the element!
عند استخدام الخصائص height و width. الخصائص height و width تتحكم فقط في المساحة الداخلية (content area) للعنصر،
-
-
www.w3schools.com www.w3schools.com
-
define the description term
describing the term of a definition list
-
-
www.w3schools.com www.w3schools.com
-
Note: A link does not have to be text. A link can be an image or any other HTML element!
-
-
www.w3schools.com www.w3schools.com
-
What is the highest HEX number of the following:
القاعدة: كلما ارتفعت الحروف الأبجدية أو الأرقام، زادت القيمة. وبالتالي، الحروف الأبجدية الأقل (مثل A) تعني قيمة أقل، وليس أعلى.
الخلاصة: كلما ارتفعت قيمة الأحرف أو الأرقام في الكود الست عشري، زادت القيمة العددية.
-
-
www.w3schools.com www.w3schools.com
-
verbal stress.
الضغط اللفظي
-
- Dec 2024
-
www.w3schools.com www.w3schools.com
-
Navigation
مش معنا
-
Equal Height Boxes
مش معنا
-
Grid of Boxes
شبكة
-
-
www.w3schools.com www.w3schools.com
-
appear below it
تظهر تحتها
-
-
www.w3schools.com www.w3schools.com
-
float
العناصر العائمة
-
-
www.w3schools.com www.w3schools.com
-
containing a specified word.
الفرق بينها وبين * ال * value اما ال ~ word (كلمة مستقلة, منفصلة)
-
contains a specified value.
يعني الvalue لازم تكون محتوى موجود داخل ال value
-
whose value starts with the specified value.
معناها start with وبكتب الكلمة الي بدي اعمل للجملة تبعتها style
-
ends with a specified value.
معناها end with وبكتب الكلمة الي بدي اعملها style
-
-
www.w3schools.com www.w3schools.com
-
selects the markers of list items.
تستخدم لادرج خصائص لل list
-
portion
جزء
-
The ::first-line pseudo-element is used to add a special style to the first line of a text.
ما بتتطبق على inline element
-
-
www.w3schools.com www.w3schools.com
-
div ~ p
جميع عناصر ال p الي بتيجي بعد ال div مباشرة وبتكون ع نفس ال level
-
iv + p
عنصر ال p الي اجت مباشرة بعد ال div بستهدف ال p الي بتيجي بعد ال div مباشرة اذا اجى مثلا span وداخه h1 لن يستهدفه
-
Next Sibling
الاخ المباشر
-
Child Combinator (>)
ابن مباشر
-
div > p
يعني استهدفلي ال p بتيجي بعد ال div بشكل مباشر
-
-
www.w3schools.com www.w3schools.com
-
The input autocomplete attribute specifies whether a form or an input field should have autocomplete on or off.
يعني لما اكبس ع اي box بال form بعطيني خيارات انا معبياها مسبقا ب form قبل هيك هاد اذا كنت مشغلة خاصية ال on ام ال off توقف هذا الاشي
-
The short hint is displayed in the input field before the user enters a value.
لما يكون ال box فاضي
-
title attribute to describe the pattern to help the user.
يعني اعطي hint بالاخير
-
regular expression
بدنا نشوف ال value هاي بتطابق نمط معين او لا
-
A read-only input field cannot be modified
ما بنقدر نعدل القيمة الابتدائية
-
-
www.w3schools.com www.w3schools.com
-
Tel
رقم الهاتف
-
pattern
يعني القيمة الي بدخلها ال user لازم تطابق نمط معين
-
Restrictions
القيود
-
restrictions
قيود
-
Depending on browser support, a color picker can show up in the input field.
اذا كان ال browser بدعم رح يطلع عنا color picker ويجب ان يكون اللون بال HEX (السادس عشري)
-
omit the submit button's value attribute,
اذا احنا اهملنا ال value
-
-
www.w3schools.com www.w3schools.com
-
If two positioned elements overlap each other without a z-index specified, the element defined last in the HTML code will be shown on top.
عندما يتداخل عنصران محددان الموضع (positioned elements) مع بعضهما (مثل relative، absolute، fixed، أو sticky) ولم يتم تحديد قيمة z-index لأي منهما، فإن المتصفح يستخدم قاعدة أساسية لتحديد العنصر الذي يظهر فوق الآخر:
العنصر المُعرّف أخيرًا في كود HTML يظهر في الأعلى: الترتيب الافتراضي للعناصر يعتمد على ترتيبها في كود HTML. العنصر الذي يأتي متأخرًا في الكود (أقرب إلى نهاية المستند) سيظهر أعلى العنصر الذي يسبقه
-
behind
خلف
-
overlap
تداخل
-
-
www.w3schools.com www.w3schools.com
-
Setting the top, right, bottom, and left properties of a relatively-positioned element will cause it to be adjusted away from its normal position. Other content will not be adjusted to fit into any gap left by the element.
يحافظ ع المكان الاصلي للعناصر المجاورة ويتحرك بالنسبة الى نفسه عند تعيين قيم الخصائص top وright وbottom وleft لعنصر تم تحديد موضعه باستخدام position: relative، يتم تعديل موضع العنصر بعيدًا عن موضعه الطبيعي . هذا يعني أن العنصر يتحرك بالنسبة إلى مكانه الأصلي، لكنه يظل يشغل نفس المساحة في التدفق العادي. ملحوظة: عند تحريك العنصر بهذه الطريقة، لن يتم تعديل المحتوى الآخر لملء الفراغ الذي تركه العنصر. بمعنى آخر، المساحة الأصلية التي كان يشغلها العنصر قبل تحريكه تظل محفوظة كما هي.
-
, depending on the scroll position
يعني اول اشي ما رح يبين عندي الفرق بس لما انزل بالصفحة لتحت رح يبين
-
toggles
تبديلات
-
a gap
فراغا
-
Note: Absolute positioned elements are removed from the normal flow, and can overlap elements.
ملاحظة: تتم إزالة العناصر ذات الوضع المطلق من التدفق الطبيعي، ويمكن أن تتداخل العناصر.
-
An element with position: absolute; is positioned relative to the nearest positioned ancestor (instead of positioned relative to the viewport, like fixed).
يتحرك العنصر بالنسبة الى الشاشة او الى اقرب اب يحتوي على ال position باستثناء ال static
-
An element with position: static; is not positioned in any special way; it is always positioned according to the normal flow of the page:
عنصر باستخدام الخاصية position: static; لا يتم وضعه في أي موقع خاص أو مميز؛ حيث يتم تحديد موضعه دائمًا وفقًا للتدفق الطبيعي للصفحة.
-
static
الافتراضية
-
-
www.w3schools.com www.w3schools.com
-
and the remaining space will be split equally between the two margins:
سيشغل العنصر العرض المحدد، وسيتم تقسيم المساحة المتبقية بالتساوي بين ال margins
-
Setting the width of a block-level element will prevent it from stretching out to the edges of its container
سيؤدي ضبط عرض عنصر على مستوى الكتلة إلى منعه من الامتداد إلى حواف الحاوية الخاصة به
-
-
www.w3schools.com www.w3schools.com
-
The element will be hidden, and the page will be displayed as if the element is not there:
ما رح يعطي تأثير بانه موجود كانو انحدف عكس visibility:hidden; رح تعطي تأثير ورح يتم اخفاء العنصر وليس حدفه
-
Sets this property to its default value
يعيد الخاصية إلى قيمتها الافتراضية.
-
Makes the container disappear, making the child elements children of the element the next level up in the DOM
يجعل العنصر يختفي كحاوية، ويعامل أبناءه كما لو كانوا أبناء العنصر الأعلى.
-
Displays an element as either block or inline, depending on context
يعتمد عرضه (block أو inline) على السياق.
-
list-item Let the element behave like a <li> element
يجعل العنصر يتصرف كعنصر
- (عنصر قائمة).
-
-
Let the element behave like a <colgroup> element
يجعل العنصر مثل colgroup لتجميع أعمدة الجدول.
-
table-caption Let the element behave like a <caption> element
يجعل العنصر مثل <caption> (عنوان الجدول).
-
Let the element behave like a <table> element
يعرض العنصر كجدول مثل <table>.
-
inline-table The element is displayed as an inline-level table
يعرض العنصر كجدول ولكنه يظهر كعنصر inline.
-
inline-grid
مشابه لـ grid، لكنه يعرض الحاوية كعنصر inline.
-
Displays an element as a block-level grid container
يجعل العنصر حاوية Grid Container لتنظيم العناصر على شكل شبكة
-
inline-flex
مشابه لـ flex، لكنه يعرض الحاوية كعنصر inline.
-
formatted
يعرض
-
flex
تُستخدم لتوزيع العناصر بمرونة
-
stretches out to the left and right as far as it can).
يمتد إلى اليسار واليمين بقدر ما يستطيع
-
radius of the circle
نصف القطر
-
coordinates
الاحداثيات
-
poly - defines a polygonal region
متعدد الاضلاع
-
Shape
الشكل
-
coords="34,44,270,350"
الاحداثيات
-
usemap="#workmap"
ال usemap بتساوي # مع ال name تبع ال map
-
you can create clickable areas on an image.
المناطق القابلة للنقر
-
disturb
يزعج
-
By default, the image is repeated so it covers the entire element.
بشكل افتراضي، يتم تكرار الصورة بحيث تغطي العنصر بأكمله.
-
opacity
القيمة الافتراضية عي 1
-
The list attribute of the <input> element, must refer to the id attribute of the <datalist> element.
عشان اربط بين ال input وال datalist بستخدم ال id ولازم يكونو نفس الاسم
-
The <datalist> element specifies a list of pre-defined options for an <input> element.
نفس فكرة ال select
-
Use the multiple attribute to allow the user to select more than one value:
اذا بدي اختار اكتر من خيار بضلني ضاغطة ع الماوس مع كبسة ctrl
-
drop-down list:
قائمة منفردة
-
width property visibility property background properties border properties
الاشياء الي بقدر استخدمها داخل ال colgroup
-
Hoverable Table
جدول قابل للتفاعل عند التمرير
-
Add the border-bottom property to all tr elements to get horizontal dividers:
يتم استخدام خاصية border-bottom مع العنصر tr (الصفوف) لتطبيق حدود أسفل كل صف.
-
Horizontal Dividers
الفواصل الافقية
-
overlapping
متداخلة
-
zebra stripes
جملة "Zebra Stripes" تعني "خطوط الحمار الوحشي".
في سياق تصميم الويب أو جداول HTML، يشير المصطلح إلى استخدام ألوان متناوبة للصفوف (عادةً لون فاتح ولون غامق) لجعل البيانات أكثر وضوحًا وسهولة في القراءة، كما تبدو مثل نمط خطوط الحمار الوحشي
-
non-secure data,
بيانات غير حساسة
-
Useful for form submissions where a user wants to bookmark the result
مفيدة اذا بدنا نعبت بيانات ال form وبدو يخزن هاي البيانات يعملها bookmark
-
in name/value pairs
زوج
-
The form-data can be sent as URL variables (with method="get") or as HTTP post transaction (with method="post").
الفرق بينهم ال get بعطيكي الموقع كامل https://www.w3schools.com/action_page.php?fname=John&lname=Doe زي هيك بضيف الاشياء الي عبيناها بال form
اما ال post ما بعطيني الموقع كامل https://www.w3schools.com/action_page.php زي هيك
-
method="get")
القيمة الافتراضية
-
action
القيمة الافتراضية انو ينبعت على نفس الصفحة
-
form-handler.
صفحة ال server الصفحة الي رح ارسلها ال form
-
who have difficulty clicking on very small regions
للاشخاص كبار السن الي بعانو يضغطو ع الاشياء الصغيرة
-
checkbox"
زر ع شكل مربع
-
"radio">
زر
-
<input>
القيمة الافتراضية عي text
-
The HTML <input> element is the most used form element.
القيمة الافتراضية لل input هي text
-
caption
عنوان
-
To avoid having double borders like in the example above, set the CSS border-collapse property to collapse.
اذا بدي اشيل ال double border بستخدم border collapse
-
arrange
يرتب
-
The white-space property specifies how white-space inside an element is handled.
خاصية white-space تُستخدم لتحديد كيفية التعامل مع الفراغات البيضاء (مثل المسافات الفارغة والأسطر الجديدة) داخل عنصر HTML nowrap: لا يتم لف النص، أي يتم عرضه على سطر واحد فقط بغض النظر عن طوله.
-
The white-space property specifies how white-space inside an element is handled.
خاصية white-space تحدد كيفية التعامل مع المسافات الفارغة داخل عنصر معين.
-
If some properties have been defined for the same selector (element) in different style sheets, the value from the last read style sheet will be used.
إذا تم تعريف بعض الخصائص لنفس المحدد (العنصر) في أوراق أنماط مختلفة، فسيتم استخدام القيمة من ورقة الأنماط المقروءة الأخيرة.
-
Tip: An inline style loses many of the advantages of a style sheet (by mixing content with presentation). Use this method sparingly.
نصيحة: النمط المضمن (inline style) يفقد العديد من المزايا التي توفرها ورقة الأنماط (style sheet) لأنه يخلط بين المحتوى والتنسيق. استخدم هذه الطريقة بشكل محدود.
-
surrounded
محاطة
-
(opacity).
العتامة والشفافية
-
Shades of gray are often defined using equal values for all three parameters:
لتمثيل درجات اللون الرمادي، يتم استخدام قيم متساوية لجميع المكونات الثلاثة
-
intensity
الكثافة
-
href="https://www.w3schools.com"
in the start tag
-
Links to an image that is hosted within the website. Here, the URL does not include the domain name. If the URL begins without a slash, it will be relative to the current page
المعنى: يشير إلى صورة موجودة ضمن نفس الموقع. هنا يبدأ الرابط بشرطة مائلة /، مما يعني أن الرابط النسبي يبدأ من جذر الموقع.
-
copyright
حقوق نشر
-
Links to an external image that is hosted on another website. Example: src="https://www.w3schools.com/images/img_girl.jpg".
هذا النوع من الروابط يحتوي على العنوان الكامل للموقع الذي يحتوي على الصورة، بما في ذلك البروتوكول (مثل https). المعنى: يشير إلى رابط خارجي لصورة موجودة على موقع ويب آخر
-
Attributes are always specified in the start tag
يتم تحديد السمات دائمًا في علامة البداية
-
Absolute size: Sets the text to a specified size Does not allow a user to change the text size in all browsers (bad for accessibility reasons) Absolute size is useful when the physical size of the output is known Relative size: Sets the size relative to surrounding elements Allows a user to change the text size in browsers
Absolute Size (الحجم المطلق): الحجم المطلق يعني تحديد حجم النص بقيمة ثابتة ومحددة. مثال: font-size: 20px; يحدد حجم الخط ليكون ثابتًا 20 بكسل. خصائص الحجم المطلق: Sets the text to a specified size:
يحدد النص بحجم محدد لا يتغير. هذا الحجم ثابت ولا يعتمد على العناصر الأخرى المحيطة به. Does not allow a user to change the text size in all browsers (bad for accessibility reasons):
لا يسمح للمستخدم بتغيير حجم النص في جميع المتصفحات، وهذا قد يكون سيئًا من حيث سهولة الوصول، خاصة للأشخاص الذين يعانون من مشاكل في الرؤية ويحتاجون لتكبير النص لسهولة القراءة. Useful when the physical size of the output is known:
الحجم المطلق يكون مفيدًا عندما تكون الأبعاد الفعلية للعنصر معروفة، مثل الطباعة على ورق أو عند تصميم موقع ثابت. Relative Size (الحجم النسبي):
الحجم النسبي يعني تحديد حجم النص بناءً على العناصر المحيطة به أو بطريقة تتكيف مع السياق. مثال: font-size: 1.5em; أو font-size: 150%; يحدد حجم النص بناءً على حجم العنصر الأب أو السياق الحالي. خصائص الحجم النسبي: Sets the size relative to surrounding elements:
يتم تحديد حجم النص نسبياً للعناصر المحيطة، ما يعني أن حجم الخط يتغير بناءً على حجم العناصر الأب، مما يجعل التصميم أكثر تكيُّفًا. Allows a user to change the text size in browsers:
يسمح للمستخدم بتغيير حجم النص في المتصفحات. هذا الأمر يعد مهمًا لسهولة الوصول، حيث يمكن للمستخدمين تكبير أو تصغير النص حسب احتياجاتهم، خاصة للأشخاص الذين يعانون من ضعف البصر.
-
oblique - The text is "leaning" (oblique is very similar to italic, but less supported)
النص يكون "مائلًا" (يشبه الخط المائل italic ولكنه أقل دعمًا).
-
Then, add a blur effect (5px) to the shadow:
كل ما زاد الرقم زاد الضباب اكتر
-
blur
شىء ضبابي
-
shadow
ضل
-
Used together with the direction property to set or return whether the text should be overridden to support multiple languages in the same document
unicode-bidi و direction تُستخدمان معًا لدعم تغيير اتجاه النص في العناصر التي تحتوي على لغات متعددة في نفس المستند، وهذا يساعد في جعل النص أكثر وضوحًا وقابلية للفهم، خاصة عند كتابة لغات تختلف في اتجاه الكتابة (مثل العربية والإنجليزية).
-
The direction and unicode-bidi properties can be used to change the text direction of an element:
يمكن استخدام خصائص direction و unicode-bidi لتغيير اتجاه النص لعنصر معين.
-
The text-align-last property specifies how to align the last line of a text.
كيفية محاذاة السطر الأخير من النص.
-
Important: High contrast is very important for people with vision problems. So, always ensure that the contrast between the text color and the background color (or background image) is good!
مهم: التباين العالي مهم جدًا للأشخاص الذين يعانون من مشاكل في الرؤية. لذا، تأكد دائمًا من أن التباين بين لون النص ولون الخلفية (أو صورة الخلفية) جيد!
-
ignored
يتم تجاهله
-
Note: The margin property also affects the total space that the box will take up on the page, but the margin is not included in the actual size of the box. The box's total width and height stops at the border.
يعني ال margin لا يدخل في حساب total width and height
-
transparent
شفاف
-
transparent
شفاف
-
be ignored
سيتم تجاهلها
-
The problem with the <div> above occurs when the browser window is smaller than the width of the element (500px). The browser then adds a horizontal scrollbar to the page.
عندما يكون عرض نافذة المتصفح أصغر من عرض العنصر (أي أقل من 500px)، فإن العنصر سيتجاوز حجم نافذة المتصفح. في هذه الحالة، سيقوم المتصفح بإضافة شريط تمرير أفقي (horizontal scrollbar) ليتمكن المستخدم من رؤية كامل محتوى العنصر. هذا يمكن أن يجعل تجربة المستخدم غير مريحة عند التعامل مع الشاشات الصغيرة، خاصة عند استخدام أجهزة محمولة أو تصغير نافذة المتصفح.
-
Top and bottom margins of elements are sometimes collapsed into a single margin that is equal to the largest of the two margins.
انهيار الهامش يحدث عندما يتواجد هامشان علوي وسفلي (أو هامشان عموديان) لعناصر متجاورة، حيث يتم دمج الهامشين في هامش واحد بدلًا من جمعهما. الهامش النهائي الناتج يكون مساويًا لأكبر الهامشين، وليس مجموعهما.
-
Collapse
انهيار
-
Note: If border-color is not set, it inherits the color of the element.
ملاحظة: إذا لم يتم تعيين خاصية لون الحدود (border-color)، فستستخدم اللون الخاص بالعنصر نفسه.
-
separate
افصل
-
(select elements based on an attribute or attribute value)
input[type="text"] { border: 1px solid black; }
-
select and style a part of an element)
تُستخدم لاختيار جزء من محتوى العنصر، p::first-line { color: purple; }
-
select elements based on a certain state)
تُستخدم لاختيار العناصر بناءً على حالة معينة، a:hover { color: green; }
-
(select elements based on a specific relationship between them)
تُستخدم لاختيار العناصر بناءً على علاقة معينة بين العناصر. div > p { color: red; } h1 + p { margin-top: 10px; }
-
(select elements based on name, id, class)
p { color: blue; }
-
HTML was created to describe the content of a web page, like:
مش ال style
-
variations
الاختلافات
-
HTML also supports description lists.
dl
-
(small black circles) by default:
disc
-
The id name must contain at least one character,
بمعنى آخر، لا يمكنك ترك قيمة id فارغة، كما لا يمكنك استخدام مسافة أو رمز غير معرف كاسم للمعرف.
-
Tip: With an external style sheet, you can change the look of an entire web site, by changing one file!
باستخدام ورقة الأنماط الخارجية، يمكنك تغيير مظهر الموقع بالكامل من خلال تعديل ملف واحد فقط
-
container
صدنوق
-
An inline element only takes up as much width as necessary.
يأخذ فقط المساحة اللازمة لاحتواء محتواه ولا يمتد ليشغل العرض الكامل. هذا يعني أن العناصر الأخرى يمكن أن تُعرض بجانبه في نفس السط
-
stretches out to the left and right as far as it can
يمتد إلى اليسار واليمين بقدر ما يمكن
-
embed
عرض
-
Shades of gray are often defined using equal values for all three parameters:
لتمثيل درجات اللون الرمادي، يتم استخدام قيم متساوية لجميع المكونات الثلاثة.
-
hexadecimal value
القيمة السداسية العشرية
-
Emphasized text
نص مائل ومهم
-
Italic text
نص مائل
-
preformatted text.
نص منسق مسبقًا.
-
thematic break
استراحة موضوعية
-
Some HTML elements will display correctly, even if you forget the end tag:
مثل ال P
-
visible part
الجزء المرئي
-
1989 Tim Berners-Lee invented www
الي اكتشف ال html
-
<head>
meta information
-
<html>
Root
-
meta information
معلومات تعريفية