width و height: این دو ویژگی پهنا و ارتفاع عناصر صفحه مانند تصویر را مشخص میکنند. مقدار این ویژگیها میتواند برحسب پیکسل یا درصد باشد. مرورگر با مشاهده عبارت width="100" پهنای عنصر را برای 100 پیکسل قرار میدهد. بنابراین برای تعیین واحد بر حسب درصد باید از عبارتی مشابه width="100%" استفاده شود. بهتر است که برای تنظیم پهنا و ارتفاع بر حسب درصد از CSS استفاده شود.
title: یک متن توضیحی است که در صورت قرارگیری نشانگر ماوس روی تصویر ظاهر میشود.
صفحه ۱۰۵
Page 104
width and height: these two attributes set the width and height of page elements such as images. Their values can be in pixels or in percent. When the browser sees width="100", it makes the element 100 pixels wide. So to give the size in percent you must use something like width="100%". It is better to use CSS to set width and height in percent.
title: a descriptive text that appears when the mouse pointer is over the image.