السلام عليكم

عزيزي الزائر / عزيزتي الزائرة يرجي التكرم بتسجبل الدخول اذا كنت عضو معنا
او التسجيل ان لم تكن عضو وترغب في الانضمام الي اسرة منتديات النسيم
سنتشرف بتسجيلك
شكرا لكم
إدارة المنتدى


السلام عليكم

عزيزي الزائر / عزيزتي الزائرة يرجي التكرم بتسجبل الدخول اذا كنت عضو معنا
او التسجيل ان لم تكن عضو وترغب في الانضمام الي اسرة منتديات النسيم
سنتشرف بتسجيلك
شكرا لكم
إدارة المنتدى


هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.



 
الرئيسيةالرئيسية  نسيم المحبةنسيم المحبة  أحدث الصورأحدث الصور   chat-room  التسجيلالتسجيل  دخولدخول  

 

 HTML TEXT النصوص فى لغة الإتش تى إم إل

اذهب الى الأسفل 
كاتب الموضوعرسالة
chahbouni
مشرف منتديات الترفيه
مشرف منتديات الترفيه
chahbouni


عدد المساهمات : 139
نقاط : 160

HTML TEXT النصوص فى لغة الإتش تى إم إل Empty
مُساهمةموضوع: HTML TEXT النصوص فى لغة الإتش تى إم إل   HTML TEXT النصوص فى لغة الإتش تى إم إل Icon_minitimeالسبت 16 يناير 2010 - 10:46






To enter text on your pages - all you have to do is simply enter the text.If you do not specify any attributes for text it will use the default size, font etc. of the visitor's browser.
Browsers can only show fonts available on the visitor's PC.
Therefore you are limited to using the fonts that are available on almost any computer.

If you need to use a fancy font, you should use your graphics program to make an image with the text. This will assure that the visitor will see it - even if he doesn't have the fancy font you're using.
Since images take up much more space than plain text, thus increasing download time, you should use this option with care.

On the following pages you will learn how to customize the font settings - both on normal text and text that works as a link.Furthermore, you will learn to control how the text aligns on your pages.
To specify the overall font for your page add the
tag at the beginning of the section.

Example: The page as it looks in the browser.

Hello! This is my page.
All text looks the same
since I only specified a basefont

HTML: The code to produce the above example.




Hello! This is my page.

All text looks the same

since I only specified abasefont.



The color attribute selects the desired color for your text. The face attribute selects the desired font.
Note:If you enter a list of fonts, like in the example, the browser will use the first font in the list available on the visitor's computer.
The size attribute specifies the desired size, between 1 (smallest) and 7 (biggest).
The tag will change the font.

Example: How the output looks in the browser.

Hello! This is my page.

This local text looks different.
This text looks like the first line

HTML: The code to produce the above example.







Hello! This is my page.


This local text looks different




This text looks like the first line.


The color attribute selects the desired color for your text. The face attribute selects the desired font.
Note: If you enter a list of fonts, like in the example, the browser will use the first font in the list available on the visitor's computer.

These are the tags for text formats:

text writes text as bold
text writes text in italics
text writes underlined text
text lowers text and makes it smaller
text lifts text and makes it smaller
text guess yourself! (Note: Netscape only.)
text strikes a line through the text
text writes text as on a classic typewriter
textwrites text exactly as it is, including spaces.
text usually makes text italic
text usually makes text bold
Note:The tag is only supported by Netscape browsers, and should be avoided.

These are the tags for changing the font size.

Text increase the size by one
Text decrease the size by one
Text

writes text in biggest heading
Text

writes text in smallest heading
Text writes text in smallest fontsize. (8 pt)
Text writes text in biggest fontsize (36 pt)

The and tags are special in that they can be repeated. If you want to increase the font size with a factor two, then you could do it like this:
bla bla bla whatever bla bla bla
Note:While the font tag lets you specify font attributes in plain HTML, you really should look into the tutorial on CSS to learn how to get full, flexible and much more advanced control of your text.

TEXT LAYOUT

These tags will let you control the layout.
TextAdds a paragraph break after the text. (2 linebreaks).
Text
Left justify text in paragraph.
Text
Center text in paragraph.

Text
Right justify text in paragraph.
text
Adds a single linebreak where the tag is.
Text Turns off automatic linebreaks - even if text is wider than the window.
text Allows the browser to insert a linebreak at exactly this point - even if the text is within tags.
Text text.

Text


Center text.
Text
Left justify text.

Text
Right justify text.

Note in particular the difference between the
and the tags. The tag allows you to justify content without being forced to add a double linebreak.
Also, note that these alignment tags are not limited to text. They work on text, images

الرجوع الى أعلى الصفحة اذهب الى الأسفل
 
HTML TEXT النصوص فى لغة الإتش تى إم إل
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1
 مواضيع مماثلة
-
» اساسيات تعليم اتش تي ام ال html
» اساسيات تعليم اتش تي ام ال html

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
 :: الكمبيوتر :: منتدى لغات البرمجة-
انتقل الى: