ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

Rami Nasrallah
من قبل Rami Nasrallah , Customer Experience Specialist , DEVNET

i use it usually to change from the the font-family view and the spacing between letters, and that's what made for

 

but the white-space property specifies how white-space inside an element is handled (BY W3C)

and you should keep it clear for visual as golden ratio the space between the elements should be1.6 for the item

 

which that mean if the font size10px that mean the line-height should be16PX, but with the white-space some browsers will be more or less so you should clear for the collapsing of the elements.

 

Rehan Farooq
من قبل Rehan Farooq , WEB DEVELOPER/DIGITAL MARKETING EXPERT , Upwork

White spaces are blank sequence of space characters, which is actually treated as a single space character in html. Because the browser collapses multiple space into a single space, you can indent lines of text without worrying about multiple spaces. This enables you to organize the html code into a much more readable format.

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟