Web Design: HTML Basics Guide
Web Design: HTML Basics Guide
*1*
References
*2*
Web Design - HTML
*3*
Internet
*4*
Internet
*5*
Internet
*6*
WWW - HTTP
The World Wide Web (known affectionately as ―the Web‖) is just one of the
ways information can be shared over the Internet. It is unique in that it allows
documents to be linked to one another using hypertext links thus forming a
huge ―web‖ of connected information.
The Web uses a protocol called HTTP ( Hyper Text Transfer Protocol). If
you’ve spent any time using the Web, that acronym should look familiar because
it is the first four letters of nearly all web site addresses.
*7*
WWW - HTTP
*8*
Web Page Addresses (URLs)
Web Page Addresses (URLs) With all those web pages on all those servers,
how would you ever find the one you’re looking for? Fortunately, each
document has its own special address called a URL (Uniform Resource Locator).
*9*
Web Page Addresses (URLs)
*10*
Web Page Addresses (URLs)
*11*
Web Page Addresses (URLs)
*12*
Web Page Addresses (URLs)
*13*
Web Page Addresses (URLs)
*14*
programming languages for Web
ِٓ خ١ّبد اٌجشِد١ٍ اٌّسزعشع ثبسُ اٌزعٟب فٍٙ١زُ رشغ٠ ٟخ اٌز١ّبد اٌجشِد١ٍُرعشف اٌزع
.ت اٌّمذِخ٠ٌٛن طفحخ اٍٛسٚ شٙٓ ِظ١ ثزحسٟزُ ثشىً أسبسٙرٚ ً١ّخبٔت اٌع
، ًاٌزٕمٚ ، طبد١إٔشبء اٌزخطٚ ، بّٙ١ّرظٚ َخ اٌّسزخذٙاخٚ ٔبدٛذ ِى٠زؼّٓ رٌه رحذ٠
رجٌّٕٛاٌزحمك ِٓ طحخ اٚ
*15*
programming languages for Web
- جذ٠خبفب سىشٚ CSS ٚ HTML ًَ ثبسزخذا١ّخ ِٓ خبٔت اٌع١ّبد اٌجشِد١ٍرزُ وزبثخ اٌزع
(ثّبًٟ األسبس١ ٔظبَ اٌزشغًٌٝ إ١ي ػئٛطٚ بٙ٠ٌذٚ ت٠ٚ ب داخً ِسزعشعٍٙ١زُ رشغ٠
.) ٔظبَ اٌٍّفبدٌٝد إٚي اٌّحذٛطٌٛ رٌه اٟف
*16*
programming languages for Web
The server-side code handles tasks like validating submitted data and
requests, using databases to store and retrieve data and sending the
correct data to the client as required.
ٌٝزُ إسخبعٗ إ٠ ٞ اٌزٜٛبس اٌّحز١ اخزٍٝت ِٓ خبٔت اٌخبدَ ع٠ٌٛالع اِٛ رزؼّٓ ثشِدخ
.اٌّزظفح اسزدبثخ ٌٍطٍجبد
، اٌطٍجبد اٌّمذِخٚ بٔبد١بَ ِثً اٌزحمك ِٓ طحخ اٌجِٙ َد ِٓ خبٔت اٌخبدٛعبٌح اٌى٠
ً١ّ اٌعٌٝحخ إ١بٔبد اٌظح١إسسبي اٌجٚ اسزشداد٘بٚ بٔبد١ٓ اٌج٠بٔبد ٌزخض١اعذ اٌجٛاسزخذاَ لٚ
ةٍٛ ِطٛ٘ وّب
*17*
programming languages for Web
رشًّ أِثٍخ- ِٓ ٌغبد اٌجشِدخٞخ ِٓ خبٔت اٌخبدَ ثأ١ّبد اٌجشِد١ٍّىٓ وزبثخ اٌزع٠
.)NodeJS( ٚ # C ٚ Asp.Netِ ٚ Python ٚ PHP َت اٌشبئعخ ِٓ خبٔت اٌخبد٠ٌٌٛغبد ا
ًَ اٌخبد١ ٔظبَ رشغٌٝي اٌىبًِ إٛطٌٛٗ حك ا٠خبٔت اٌخبدَ ٌذ
*18*
Web communication
Web pages are stored on a Web server to make them available on the Internet
for the users
Web server is a computer with high processing speed and connected to the
Internet.
Web server is used to host and display the Web pages on a Web browser.
Web browser displays the Web pages using the HTTP protocol.
HTTP protocol is a protocol that specifies how a Web page will be retrieved from
the Web server.
*19*
Web communication
Steps to view a Web page in a browser are as follows:
1- User specifies the Uniform Resource Locator (URL) of Web page in a browser.
2- The client browser sends the URL request to the appropriate Web server.
3- Web server processes the request and sends the Web page as a response to
the browser.
*20*
Web communication
*21*
Web communication
*22*
Term Web Design
Graphic design
Information design
Multimedia
*23*
Web Technologies
Technologies used for creating dynamic Web sites are as follows:
CSS specifies the formatting of a Web page for both static and dynamic Web
pages.
Extensible HTML (XHTML) when used with JavaScript, displays the required user-
defined data each time the Web page is loaded in the browser.
Dynamic HTML (DHTML) uses JavaScript and CSS to make dynamic Web pages
and transform the look and feel of the Web pages.
*24*
Web Browsers
*25*
Hypertext Markup Language (HTML)
Hyper Text Markup اٌىٍّخ إخزظبس ٌـٚ( .ب اٌٍغخ اٌّسزخذِخ إلٔشبء طفحبد اإلٔزشٔذٙٔإ
.)Language
. C ++ وٍغخٜٗ ٌٍغبد اٌجشِدخ األخش١ٍاٌشىً اٌّزعبسف عٚ ٕٝسذ ٌغخ ثشِدخ ثبٌّع١ٌ ٟ٘ٚ
دت٠ ًّعٕذ اٌحبخخ السزخذاَ ٘زٖ اٌدٚ ،ْساٚاٌذٚ ُ خًّ اٌزحىٍٝ عٞٛ ِثال ً ال رحزٟٙف
Java, JavaScript, CGI وـٜفشاد ِٓ ٌغبد أخش١ٓ ش١ّرؼ
*26*
)Hypertext Markup Language (HTML
ال رحزبج إٌِ ٝزشخُ خبص ثٗ ٟ٘ٚ . Compilerغ١ش ِشرجطخ ثٕظبَ رشغِ ً١ع ،ٓ١ألٔٗ ٠زُ
رفس١ش٘ب ٚرٕف١ز رعٍّ١برٙب ِجبششح ِٓ لجً ِزظفح اإلٔزشٔذ ٚثغغ إٌظش عٓ إٌظبَ
اٌّسزخذَ.
ٌغخ ثس١طخ خذاًٚ ،سٍٙخ اٌفٚ ُٙاٌزعٍُ ٚال رحزبج ٌّعشفخ ِسجمخ ثٍغبد اٌجشِدخ ٚاٌ١ٙىٍ١خ
اٌّسزخذِخ فٙ١ب .ثً سثّب وً ِب رحزبخٗ ٘ ٛاٌمٍ ِٓ ً١اٌزفى١ش إٌّطمٚ ٟرشر١ت األفىبس
**27
)Hypertext Markup Language (HTML
ال ٠زطٍت وزبثخ ٍِف HTMLأ٠خ ثشاِح خبطخ ف ٟٙوّب لٍٕب ٌغخ ال رحز ٞٛعٍ ٝثشٔبِح ِزشخُ .ثً
ٔحزبج فمط إٌ ٝثشٔبِح ٌزحش٠ش إٌظٛص اٌجس١طخ ِٚعبٌدزٙبٚ ،ثشٔبِح اٌّفىشح اٌّٛخٛد فٟ
٠ Windowsف ٟثٙزا اٌغشع
أحذ ِزظفحبد اإلٔزشٔذ Netscape Navigatorأٌّ MS Internet Explorer ٚعبٕ٠خ اٌظفحبد اٌزٟ
ٔم َٛثزظّّٙ١ب .وعليك فقط أن نقوم تحفظ النص المكتوب تملف يحمل االسن الممتد
.htmlأو .htm
ٛ٠خذ اٌعذ٠ذ ِٓ اٌجشاِح اٌز ٟرسزخذَ إلٔشبء طفحبد ٚ Htmlسٛف ٔسزخذَ اٚال ثشٔبِح اٌّفىشح
ثُ ثشٔبِح Microsoft Expression Web 4
**28
HTML elements TAGS
Before we start adding tags to our document, let’s look at the anatomy
of an HTML element (its syntax) and firm up some important terminology.
The browser knows that any text within brackets< > is hidden and not
displayed in the browser window.
*29*
HTML elements TAGS
رزىِ ْٛفشداد ٌغخ ِٓ Htmlشفشاد رسّ TAGS ٝأ ٞاٌٛس ٟ٘ٚ .َٛرسزخذَ ثشىً أصٚاج
ٚرىزت ثبٌظ١غخ اٌزبٌ١خ (ِٓ اٌ١سبس إٌ ٝاٌ: )ٓ١ّ١
فعٍ ٝسج ً١اٌّثبي اٌٛسُ <٠ >Bسزخذَ ٌىزبثخ اٌىٍّبد ثخط أسٛد عش٠غ Bold
**30
HTML Attributes
*31*
HTML Attributes
Attributes go after the element name in the opening tag only, never in the
end tag.
*32*
Basic Document Structure
*33*
Basic Document Structure (Exercise 1)
Put the entire document in an HTML root element by adding an <html> start
tag at the very beginning and an end </html> tag at the end of the text.
Next, create the document head that contains the title for the page.
Insert <head> and </head> tags before the content. Within the head
element, add the title, ―My First Exercise‖, surrounded by opening and
closing <title> tags.
Finally, define the body of the document by wrapping the content in <body>
and </body> tags. When you are done, the source document should look like
this
*34*
Basic Document Structure (Exercise 1)
<html>
<head>
<title> My First Exercise </title>
</head>
<body>
Name :- ADEL AHMED ALHAJJ
Mobile:- 7777777
</body>
</html>
*35*
Color in HTML
There are two main ways to specify colors in HTML: with a predefined color
name as we have been doing so far
*36*
Color in HTML
HTML uses color values to specify a color. Typically, these are used to set
a color either for the foreground of an element (i.e., its text) or for the
background of the element.
They can also be used to affect the color of borders and other
decorative effects.
You can specify your color values in various formats. Following table lists all
the possible formats:
*37*
Color in HTML
**38
Color in HTML
*39*
Color in HTML
*40*
HTML elements TAGS
سحٛلذ اسزخذِذ اٌظٚ سق خذساْ) ٌٍظفحخٚ( خ١سح وخٍفٛذ ط٠ ثزحذBACKGROUND خ١َ اٌخبطٛرم
:خ١ٌاٌزب
<BODY BGCOLOR = "#FFFFFF" BACKGROUND= "image.jpg"> </BODY>
*41*
) ;TAGS ( <BR> - <P> -  
الوسن <٠ >BRم َٛثبٌزحىُ فٙٔ ٟب٠بد األسطش (أ ٞأٔٗ ٟٕٙ٠اٌسطش اٌحبٌ ٟثح١ث ٠ظٙش إٌض
اٌز ٗ١ٍ٠ ٞف ٟسطش خذ٠ذ).
ٕ٘ٚبن أ٠ؼب الوسن < >Pاٌز٠ ٞم َٛرمش٠جبً ثٕفس عًّ اٌٛسُ اٌسبثك أ ٞأٔٗ ٟٕٙ٠اٌسطش أٚ
اٌفمشح ٠ٚجذأ ثسطش خذ٠ذ ٌىٓ ِع إػبفخ سطش إػبف ٟفبسغ ث ٓ١اٌفمشاد.
أِب الفراغات فزعزجش سِٛصاً خبطخ ٌزٌه ال ٔسزط١ع اٌزحىُ ثٙب ٚثعذد٘ب إال ثبسزخذاَ اٌٛسُ
;ٚ( & nbspاألحشف ٘ ٟاخزظبس ٌٍعجبسح .)Non Breakable Space
إرا أسدد إدخبي عذح فشاغبد ثٔ ٓ١ض ٚآخش ِب عٍ١ه إال وزبثخ ٘زا اٌٛسُ ثٕفس عذد اٌفشاغبد
اٌّطٍٛة .كما يجة عليك التقيد تاألحرف الصغيرة هنا.
**42
TAGS ( <BR> - <P> - )
*43*
TAGS ( <BR> - <P> - )
*44*
Web Design - HTML
*45*
Web Design
*46*
Web Design - HTML
o Elements Text Content
o Define Protocols
o Lists Elements
o Horizontal Rules Elements <hr>
o Addresses Elements
o
*47*
Elements (TAGs) for Text content
When creating a web page, I always start with my raw content in a text file and
make sure that it has been proofread and is ready to go.
*48*
Headings <Hn>…</Hn>
we used the h1 and h2 elements to indicate headings for our Black Goose Bistro
page. There are actually six levels of headings in HTML, from h1 to h6.
*49*
Headings <Hn>…</Hn>
*50*
Paragraphs Elements <p>…..</p>
*51*
Paragraphs Elements <p>…..</p>
*52*
Long quotations Elements
ٍ انفقشِ أٔ شًانٓاًٛٚ ٗز انفقشات ٔرنل يٍ خالل إضافة ْايش عهًٛٛفحٓا جٛٔسى انفقشات انًقحثسة ٔظ
ًكٍ ٔضع عذِ أٔسًّ حسة يساحة انٓايش انًطهٕبٚٔ
*53*
Long quotations Elements
*54*
Long quotations Elements
*55*
Preformatted Text <pre>….</pre>
.ّق انًسثق انز٘ جى إعذادِ تٛححفع تانحُسٚ . أ٘ انًُسق يسثقاPreformatted اخحصاس نكهًة
*56*
Preformatted Text <pre>….</pre>
*57*
Define Protocols
ثشٚرٛوٛالد االرظبالد ٌٍذبعت ا ٟ٘ ٌٟ٢ػجبسح ػٓ ِجّٛػخ ِٓ اإلجشاءاد (آٌ١خ خبطخ) رٛجٗ
اٌذبعت ا ٌٟ٢إٌ ٝاٌمٛاػذ اٌز٠ ٟجت إرجبػٙب ٌالرظبي ثأجٙضح اٌذبعت األخش.ٜ
وّب ّ٠ىٓ رؼش٠ف اٌجشٚرٛوٛي ثأٔٗ ٔظبَ ل١بع ٟرزبثؼِ ٟزفك ػٍ٠ ٗ١غبػذ ػٍٔ ٝمً اٌّؼٍِٛبد
ثغٌٛٙخ ٠ٚغش ث ٓ١األجٙضح اٌّخزٍفخٚ ،فّ١ب ٔ ٍٟ٠زؼشف ع٠ٛبً ػٍ ٝأوضش اٌجشٚرٛوٛالد اعزخذِبً
ٚأٚعؼٙب أزشبساً.
**58
Protocols TCP / IP
ثشٚرٛوٛي ٛ٘TCP/IPثشٚرٛوٛي ٌالرظبالد ث ٓ١أجٙضح اٌذبعت اٌ ٌٟ٢الرظبي ثشجىخ اإلٔزشٔذ ،
٠ٚؼٕ ٟثشٚرٛوٛي اٌزذىُ فٔ ٟمً اٌج١بٔبد ث ٓ١طجمبد اٌشجىخ٠ ٚ .ؼذ ٔظبَ ل١بع٠ ٟذذد و١ف
ّ٠ىٓ ٌألجٙضح اإلٌىزش١ٔٚخ ِضً اٌذبعت ا ٌٟ٢أْ رزظً ثشجىخ اإلٔزشٔذٚ ،و١ف١خ ٔمً اٌج١بٔبد
ٚظ١فزٗ ٘ٔ ٟمً دضَ اٌّؼٍِٛبد ثؼذ رمغّٙ١ب إٌ ٝدضَ ِؼٍِٛبد إلسعبٌٙب ٚاعزمجبٌٙب
**59
Protocols TCP / IP
٘ ٛاٌز٠ ٞم َٛثؼٍّ١خ رشل ُ١اٌذضَ ِٓ اٌذبعت اٌّشعً إٌ ٝاٌذبعت اٌّغزمجً د١ش ٠زُ
اعزمجبي ٘زٖ اٌذضَ ٚاٌزأوذ ِٓ ػذَ فمذ أ ٞدضِخ ِٓ اٌّؼٍِٛبد أصٕبء أزمبٌٙب ِٓ دبعت
إٌ ٝأخش
ٚف ٟدبٌخ فمذ أ ٞدضِخ ٠م َٛثشٚرٛوٛي TCPثطٍت ٚاعزشجبع اٌذضِخ ِشح أخش ٜدز٠ ٝزُ
**60
Protocols TCP / IP
رؼذ ٘زٖ أُ٘ ِّ١ضاد ٘زا اٌجشٚرٛوٛي د١ش أٔٗ ٠غزط١غ اعزؼبدح ٚاعزشجبع اٌج١بٔبد إرا دذس
خًٍ ِب فٔ ٟمطخ أِ ٚىبْ أصٕبء ٔمٍٙب ٠ٚزُ رٌه ثغشػخ شذ٠ذح ػٕذِب رطٍت ِٓ اٌّغزؼشع
**61
Protocols TCP / IP
٘ ٛاٌز٠ ٞم َٛثؼٍّ١خ رمغ ُ١اٌٍّفبد ٚاٌّؼٍِٛبد إٌ ٝدضَ ػجش اإلٔزشٔذ ٚإسعبٌٙب إٌٝ
وزٌه ٠زُ اٌزؼشف ػٍ ٝأ ٞدبعت ِزظً ثبإلٔزشٔذ ِٓ خالي اٌزؼشف ػٍ ٝسلُ اٌـ IPاٌخبص
٠ ٚزى ِٓ ْٛػذح أسلبَٚ ،وً ِغزخذَ ػٍ ٝاٌشجىخ ٠ذظً ػٍ ٝػٕٛاْ خبص ثٗ ٔٚظشاً ألْ
اٌؼٕب ٓ٠ٚاٌشلّ١خ طؼجخ اٌذفع فمذ رُ اعزجذاٌٙب ثبٌؼٕب ٓ٠ٚاٌذشف١خ ِ ٛ٘ٚب ٠طٍك ػٍٗ١
**62
Protocols TCP / IP
*63*
IP Address
ّ٠ٚىٓ رغّ١زٗ 4 Octetsأ ٞأسثغ ِجّٛػبد صّبٔ١خ ألٔٗ ٠مغُ إٌ ٝصّبْ ثزبد ٌىً لغُ
وبٌزبٌــــ-: ٟ
**64
IP Address
( 1-NP )Network Part ٛ٘ٚاٌمغُ األ٠غش ٠ٚجت أْ ٠ىِ ْٛزشبثٗ ٌٕفظ اٌشجىخ
( 2-HP )Host Part ٛ٘ٚاٌمغُ األ٠ ٛ٘ٚ ، ّٓ٠خزٍف ٌىً جٙبص ثبٌشجىخ
**65
IP Address
ٌ ٛلّٕب ثأخز صالصخ شجىبد خٍ٠ٛخ ف ٟثٍذ ِب ( اٌغؼٛد٠خ ِضال ً ) االرظبالد اٌغؼٛد٠خ ،ششوخ
اٌىٙشثبءٚ ،شجىخ إِٔ١خ ِٚفبر١ذٙب 078 , 077 , 079 :ػٍ ٝاٌزٛاٌٚ . ٟلّٕب ثأخز أسلبَ
**66
IP Address
ٕ٘بن رمغّ١بد ٚأٔٛاع ٌـ ٚ NPاٌـ ِ ٟ٘ٚ ، HPظٕفخ دغت اٌؼذد اٌّطٍٛة ٌٍشجىخ
اٌّخزبسح ،أ ٞأٔٗ إرا وبْ اٌؼذد لٍ ً١أِ ٚزٛعظ أ ٚوج١ش ّ٠ىٕٕب اخز١بس إٌٛع اٌّالئُ ٌزٌه ،
**67
IP Address
*68*
IP Address
*69*
IP Address
*70*
IP Address
*71*
IP Address
*72*
IP Address
دذد اٌفئبد ٚسلُ اٌشجىخ ٚسلُ اٌجٙبص ِٓ سلُ (ِ )IPضً -:
**73
IP Address
-سلُ اٌشجىخ الثذ أْ ٠زىشس ػٍ ٝجّ١غ األجٙضح ف ٟاٌشجىخ اٌٛادذح ٚسلُ اٌجٙبص
**74
Other Protocols
ثشٚرٛوٛي ٛ٘HTTPاٌّغئٛي ػٓ االرظبي ث ٓ١خبدَ اٌ٠ٛت ِٚweb serverزظفخ اٌ٠ٛت web
browser .
فجشٚرٛوٛي ٠HTTPغزخذَ إلسعبي طٍت ِٓ جٙبصن web clientػجش اٌّزظفخ إٌ ٝخبدَ
اٌ٠ٛتٚ ،إػبدح اٌطٍت ف ٟشىً طفذبد اٌ٠ٛت ِٓ اٌخبدَ إٌِ ٝزظفخ اٌؼّ.ً١
فجشٚرٛوٛي ٠ HTTPSم َٛػٍ ٝرٕف١ز رؼبِالد اٌجطبلبد االئزّبْ ٚاٌج١بٔبد اٌذغبعخ األخشٜ
**75
Other Protocols
٠غزخذَ ثشٚرٛوٛي SMTPإلسعبي اٌجش٠ذ اإلٌىزش٠ .ٟٔٚغزط١غ إسعبي سعبئً إٌظٛص فمظ،
**76
Other Protocols
**77
FTP - File Transfer Protocol
ٛ٘ٚثشٚرٛوٛي ٌٕمً اٌٍّفبد٘ٚ ،زٖ اٌخذِخ ٘ ٟإدذ ٜرطج١مبد TCP/IPاٌز ٟرجؼً ِٓ
١ِّ ِٓٚضاد ثشرٛوٛي اٌـ FTPأٔٗ ٠م َٛثزشجّخ شىً اٌٍّفبد إٌظ١خ ثطش٠مخ أٚرِٛبر١ى١خ
د١ش رخزٍف ٔٛػ١خ ٔظُ اٌزشغ ً١اٌّضجزخ ػٍ ٝأجٙضح اٌذبعت ٚثبٌزبٌ ٟرخزٍف ط١غخ اٌٍّفبد
اٌّٛجٛدح ػٍٙ١ب ِّب ٠زطٍت رشجّخ رٍه اٌظ١غخ ٌزٕبعت أٔظّخ اٌزشغ ً١األخش ٜاٌّضجزخ ػٍٝ
**78
FTP - File Transfer Protocol
ٚلذ طُّ ٘زا اٌجشرٛوٛي ٌؼًّ ث ٓ١األجٙضح اٌّخزٍفخ ِٓ د١ش إٌٛع ٚوزٌه ِٓ د١ش أٔظّخ
اٌزشغ ً١اٌّخزٍفخ ػٍ ٝعج ً١اٌّضبي ّ٠ىٓ أْ ٠غزخذَ ٘زا اٌجشٚرٛوٛي ث ٓ١جٙبص خبدَ
٠ٚؼًّ ثٕظبَ رشغٔٛ٠ ً١ىظ إٔ١ٌ ٚىظ ٚث ٓ١جٙبص شخظ ٟأخش ٠ٚؼًّ ثٕظبَ رشغٕ٠ٚ ً١ذٚص.
ٚثشٚرٛوٛي FTPػٕذ ل١بِٗ ثؼٍّ١خ ٔمً اٌٍّفبد ٠م َٛثئٔشبء ارظبٌّ٘ٚ ٓ١ب:
**79
FTP - File Transfer Protocol
٘ٚزا االرظبي خبص ثٕمً األٚاِش ث ٓ١جٙبص ٓ٠د١ش ٠م َٛجٙبص اٌخبدَ ثفزخ إٌّفز ٕ٠ٚزظش فٟ
٘ٚزا االرظبي ٠ى ْٛارظبي دائُ أ ٞال ٕ٠مطغ إال إرا لبَ أدذ اٌطشف ٓ١ثمطغ االرظبي ػٓ اٌطشف
األخش
٠زُ إٔشبء ٘زا االرظبي ػٕذ ٔمً اٌج١بٔبد ث ٓ١اٌجٙبص ٓ٠أ ٞأْ ٘زا االرظبي ٘ ٛارظبي ِؤلذ
ِٚشرجظ ثؼٍّ١خ ٔمً اٌٍّفبد ٕ٠ٚز٘ ٟٙزا االرظبي ثّجشد إرّبَ اٌؼٍّ١خ اٌّطٍٛثخ.
**80
FTP - File Transfer Protocol
**81
FTP - File Transfer Protocol
رذزبط إٌ ٝاعُ ِغزخذَ ٚوٍّخ ِشٚس ٌٍذخٛي إٌ ٝإٌظبَ ٚرذظً ػٍِ ِٓ ٗ١ذ٠ش إٌظبَ
اٌّض١ف.
ال رذزبط إٌ ٝاعُ ِغزخذَ ٚوٍّخ ِشٚس ٌٍذخٛي ٚرغزط١غ غبٌجبً اعزخذاَ guestأٚ
anonymousػٛضبً ػّٕٙب.
**82
Lists Elements
ثبعزخذاَ ػذحٚ ُائٛ لٟبٔبد ف١ُ اٌج١َ اٌخبطخ ثزٕظٛعٌٛػخ ِٓ اّٛ ِجٍٝ ػHTML ٌغخٞٛرذز
*83*
Lists Elements
ػٕذ اٌزؼبًِ ِغ اٌمٛائُ ٔذزبط إٌٚ ٝع َٛخبطخ ثزذذ٠ذ ثذا٠خ ٙٔٚب٠خ اٌمبئّخ ٚ ٚع َٛرذذد ثٕٛد
٘زٖ اٌمبئّخ
ٌٚزؼ ٓ١١وً ثٕذ ِٓ ثٕٛد اٌمبئّخ ٔغزخذَ اٌٛعُ <ٚ ٛ٘ٚ >Liعُ ِفشد ٠ىزت ف ٟثذا٠خ اٌغطش
**84
Lists Elements >>> Type
خبط١خ Typeرغزخذَ ِغ اٌمٛائُ ٚ ٚظ١فزٙب رذذ٠ذ شىً اٌشِض اٌظب٘ش ِغ ثٕٛد اٌمبئّخ،
ٚػبدح رغزخذَ ِغ ٚع َٛثذا٠خ اٌمٛائُ < >ULأٚ >OL< ٚثزٌه ٔذذد سِضاً ٚادذاً ٌىً اٌمبئّخ.
ٚثّىٓ اعزخذاِٗ أ٠ضبً ِغ ٚعُ اٌجٕٛد < >Liإلػطبء رذىُ أوجش فِ ٟظٙش اٌمبئّخ ِٓ خالي رذذ٠ذ
فؼٕذ ٚضؼٙب ضّٓ رؼش٠ف اٌمٛائُ اٌّزغٍغٍخ رأخز اٌم A, a, I, i :ُ١اٌز ٟرغ١ش سِٛص اٌزشلِٓ ُ١
األسلبَ اٌؼبد٠خ االفزشاض١خ (ٚاٌز ٟسِض٘ب )1إٌ ٝرشل ُ١ثبعزخذاَ األدشف اٌالر١ٕ١خ اٌىج١شح أٚ
اٌظغ١شح ،أ ٚثبعزخذاَ األسلبَ اٌشِٚبٔ١خ وّب رش ٜف ٟاٌجذٚي اٌزبٌٟ
><OL ><OL ><OL ><OL
“ Type = “ i “ Type = “ I “ Type = “ a “ Type = “ A
**85
Lists Elements >>> Type
ٚػٕذ اعزخذاِٙب ضّٓ رؼش٠ف اٌمٛائُ اٌغ١ش اٌّزغٍغٍخ رأخز اٌم :ُ١اٌّشثغ ٚ ،squareاٌذائشح
><UL ><UL
“ Type = “ square “ Type = “circle
**86
Lists Elements
*87*
Lists Elements
*88*
Lists Elements
*89*
Lists Elements
*90*
Lists Elements
وّب ٠ذي االعُ اٌمٛائُ اٌزؼش٠ف١خ Definition listsرغزخذَ ػٕذِب ٔش٠ذ إدساط لبئّخ ِٓ
ٚاٌضبٔٛ٠ٚ >DT< ٟضغ لجً وً ِظطٍخ ٌزذذ٠ذٖٚ ٛ٘ٚ ،عُ ِفشد.
أِب اٌضبٌش فٚ ٛ٘ٚ >DD< ٛٙعُ اٌششح أ ٚاٌزؼٍ١ك ٛ٘ٚأ٠ضب ِفشد.
**91
Lists Elements
*92*
Lists Elements
<DL>
</DL>
*93*
Lists Elements
ِغ رغ١١ش األٌٛاْ اٌخبطخ ثبٌؼٕبٚ ٓ٠ٚاٌخال٠ب ٚاعزخذاَ أٚعّخ إٌظٛص اٌغبثكة
**94
Horizontal Rules Elements <hr>
If you want to add a divider between sections, you can insert a horizontal rule (hr)
element between blocks of text.
When browsers see an hr element, they insert a shaded horizontal line in its place
by default. Because horizontal rules are block-level elements
. ً اِزذاد اٌظفذخ وبٍِزبٍٝه خظ ػ٠ش ٌذٙظ٠ فٛ عٟ< ٌشعُ خظ أفمHR> ُعٌٛٔغزخذَ ا
:ً اٌغّه ِضال
ُ ّضً ٘زا٠ ُب ثشلٙأرجؼزٚ SIZE خ١عّه ٘زا اٌخظ إرا أضفذ ٌٗ اٌخبط
ُ ذ٠غ رذذ١رغزط
*95*
Horizontal Rules Elements <hr>
ّخ١ ِٓ اٌّّىٓ أْ رأخز لٟاٌزٚ WIDTH خ١ذ ػشع اٌخظ ثبعزخذاَ اٌخبط٠ّىٕه رذذ٠ وزٌه
خ١ ٔغجِٚطٍمخ أ
<HR WIDTH="80%">
*96*
Horizontal Rules Elements <hr>
*97*
Addresses Elements
the address element that is used to provide contact information for the author
or maintainer of the document.
It is generally placed at the beginning or end of a document or a large section of
a document. You shouldn’t use the address element for all types of addresses
*98*
Web Design - HTML
*99*
Web Design
*100*
Web Design - HTML
*101*
Meta Element
HTML also includes a meta element <meta> that goes inside the head element.
The purpose of the meta element is to provide meta-information about the document
اٌظفذحٍٟ اعٟ< فhead>…</head> ُسٚ ٓ١ىرة ت٠ ة٠ٌٕٛذسج ػّٓ طفذاخ ا٠
, ش٘ا١غٚ اٌّؤٌفٚ ح١س١اٌىٍّاخ اٌشئٚ ٜٛث اٌّذر١ اٌظفذح ِٓ دٚلع أٌّٛطف اٚ ِٕٗ اٌغشع
ٌٟا وراٙاُ٘ خظائظٚ ِذشواخ اٌثذثٟف ف١ٕح اٌرظ١ٍّ عٟذ ف١ذفٚ
*102*
Meta Element
*103*
Meta Element
*104*
Text Element
**105
Text Element
Use the quotation (q) element to mark up short quotations, such as “To be or not
to be” in the flow of text, as shown in this example.
adel says, <q>Welcome To Web Designer.</q>
*106*
Text Element
*107*
Text Element
*108*
Text Element
*109*
Text Element
*110*
Research !!??
*111*
Font Element
اٌٛسُ اٌخاص تاٌخطٛؽ ٘٠ ٛ٘ٚ >FONT< ... >/FONT< ٛم َٛتاٌرذىُ تاٌخطٛؽ ِٓ د١ث
إٌٛع ٚاٌٍٚ ْٛاٌذجُ .أِا اٌخظائض اٌرٔ ٟسرخذِٙا ِع ٘زا اٌٛسُ ف ٟٙواٌراٌ:ٟ
ارا ٌُ ذرعاًِ ِع اٚسّح اٌخطٛؽ سٛف ٠رُ ذطث١ك اإلعذاداخ االفرشاػ١حٚ .تإٌّاسثح فئْ
٘زٖ اإلعذاداخ ٘ ٟخؾ عادٛٔ ,ٞعٗ ٚ Times New Romanدجّٗ ( 3تّم١اس ِرظفذاخ
اإلٔرشٔد).
**112
Font Element
اٌخاطٗ١ عٍّٙا
FACE ذم٘ َٛزٖ اٌخاط١ح ترذذ٠ذ ٔٛع اٌخؾ اٌزٔ ٞش٠ذٖٚ ,لذ ٔم َٛترذذ٠ذ أوثش ِٓ
ٔٛع ِعاٚ .ف٘ ٟزٖ اٌذاٌح إرا ٌُ ٠رٛاجذ اٌخؾ اٌّذذد أٚال عٍ ٝجٙاص
اٌشخض اٌز٠ ٞرظفخ اٌّٛلع ٠رُ اعرّاد اٌخؾ اٌثأ٘ٚ ... ٟىزا
<FONT FACE="Traditional Arabic, Arabic Transparent,
>"Simplified Arabic
إٌض
></FONT
**113
Font Element
اٌخاطٗ١ عٍّٙا
SIZE ٌرذذ٠ذ دجُ اٌخؾ ٔسرخذَ ٘زٖ اٌخاط١حٚ .فمؾ ٕ٘ان سثعح أدجاَ ألٞ
خؾ ذسرط١ع اٌّرظفذاخ اٌرعشف عٍٙ١أٚ .م َٛترذذ٠ذ اٌذجُ اٌّطٍٛب
تأسٍٛت :ٓ١أٌّٙٚا اٌّثاشش .د١ث ٠رُ وراتح سلُ ٠رشاٚح ِا ت .7-1 ٓ١أ ٞإٔٔا
ٔخراس اٌذجُ اٌزٔ ٞش٠ذٖ ِثاششج.
>"<FONT SIZE="4
إٌض
></FONT
عٍّا تأْ اٌذجُ ٛ٘ 1أطغش خؾ ٚاٌذجُ ٛ٘ 7أوثش خؾ ٚاٌذجُ ٛ٘ 3اٌخؾ
االفرشاػٟ
**114
Font Element
ٗ١اٌخاط اٍّٙع
COLOR ْ اٌخؾٌٛ ح فرذذد١٘زٖ اٌخاط
<FONT COLOR="#FF0000">
إٌض
</FONT>
*115*
Font Element
*116*
Font Element
*117*
Font Element
*118*
Research !!??
*119*
ADDING LINKS <a> </a>
The content of the anchor element becomes the hypertext link. Simply wrap a
selection of text in opening and closing <a>...</a> tags
and use the href attribute to provide the URL of the linked page. Here is an example
that creates a link to the O’Reilly Media web site:
*120*
The href Attribute
You’ll need to tell the browser which document to link to, right?
The href (hypertext reference) attribute provides the address of the page (its
URL) to the browser.
The URL must always appear in quotation marks. Most of the time you’ll point to
other HTML documents; however,
you can also point to other web resources, such as images, audio, and video
There are two ways to specify the URL:
*121*
The href Attribute
directory.
of the file.
*122*
The href Attribute
*123*
The href Attribute
*124*
The href Attribute
*125*
The href Attribute
*126*
The href Attribute
ْ اٌشاتؾٌٛ Link
*127*
The href Attribute
*128*
The href Attribute
href
6.html Folder 3
71.html
*129*
The Target Attribute
The target attribute defines where the linked document will be opened.
The following code example opens the document in a new browser window:
You can use the following options for the target attribute
OPTION DESCRIPTION
_self Opens the linked document in the same frame as it was clicked (this is default
_top Opens the linked document in the full body of the window
*130*
The Name Attribute
When the name attribute is used, the <a> element defines a named anchor inside an
HTML document.
Named anchor syntax:
*131*
The Name Attribute
*132*
Mail Links
the mailto link. By using the mailto protocol in a link, you can link to an email
address.
When the user clicks on a mailto link, the browser opens a new mail message
preaddressed to that address in a designated mail program.
A sample mailto link is shown here:
As you can see, it’s a standard anchor element with the href attribute. But the
value is set to mailto:[email protected].
*133*
Image Element
*134*
Image Element
اٌٛسُ اٌشئ١س ٟاٌّسرخذَ ٌرعش٠ف طٛسج ِا داخً اٌظفذح ٘ٚ ٛ٘ٚ >IMG< ٛسُ ِفشد.
٠جة أْ ٔذذد اٌظٛسج اٌرٔ ٟش٠ذ٘اٌ .زٌه ٔؼ١ف اٌخاط١ح ٌٗ ٌ SRCرذذ٠ذ ِٛلع ٚاسُ اٌظٛسج .
اٌظٛسج اٌراٌ١ح إسّٙا ٚ thedome.jpgعٕذِا لّد تئدساجٙا .وأد اٌش١فشج اٌخاطح تزٌه ٘: ٟ
>"<IMG SRC="thedome.jpg
**135
Image Element
*136*
Image Element
*137*
Image Element
*138*
Image Element
*139*
Align Attribute
عٕذِا ٔم َٛتئدساج طٛسج ػّٓ فمشج فئْ ِٛلع ظٛٙس٘ا ٠رذذد تاٌطثع دسة ذشذ١ة ٚسٚد٘ا فٟ
ٔسرخذَ اٌخاط١ح ٌ ALIGNرذذ٠ذ ِذاراج اٌظٛسج ِع إٌض اٌّشافك ٌٙا إٌٔ ٚمً تعثاسج أخش :ٜذذذ٠ذ
ِٛلع إٌض اٌزٙ١ٍ٠ ٞا تإٌسثح ٌٙا ٟ٘ٚذأخز اٌمMIDDLE, LEFT, RIGHT ,BOTTOM, TOP :ُ١
**140
Align Attribute
*141*
Align Attribute
*142*
Width and Height Attribute
*143*
Alt Attribute
*144*
Marquee Element
ٚسُ ٠ Marqueeسرخذَ إلػافح ٔض ِرذشوح أ ٚطٛسٖ ذرذشن داخً اٌّرظفخ
**145
Marquee Element
*146*
Marquee Element
*147*
Marquee Element
**149
Marquee Element
*150*
dfn Element
It is common to point out the first and defining instance of a word in a document in
some fashion.
In HTML, you can identify them with the <dfn> element and format them
visually using style sheets.
*151*
Web Design - HTML
*152*
Web Design
*153*
Web Design - HTML
o Table Element
o Div Element
o Form Element
*154*
Table Element
HTML tables were created for instances when you need to add tabular material
(data arranged into rows and columns) to a web page. Tables may be used to organize
calendars, schedules, statistics, or other types of information
A table cell may contain any sort of information, including numbers, text elements,
even images and multimedia objects.
*155*
Table Element
رؼذ اٌغذاٚي ِٓ أل ٜٛاألدٚاد اٌز ٟرزؼّٕٙب ٌغخ ٚ HTMLغٍت ِٛلغ ف ٟاإلٔزشٔذ اْ ٌُ ٠ىٓ
اٌىً ٠غزخذِٙب ثظٛسح أ ٚثأخشٚ .ٜاٌحم١مخ أْ ٚػغ اٌغذاٚي ف ٟطفحبد اٌ٠ٛت ال ٠مزظش ػٍٝ
٠زؼذ ٜرٌه إٌ ٝاعزخذاِٙب ف ٟرظّ ُ١اٌظفحبد ٔفغٙب ٚرٕظّٙ١بٚ ،اٌزحىُ ثّظٙش٘ب ثظٛسح
ل٠ٛخ ٚفؼبٌخ ال ّ٠ىٓ أداؤ٘ب ِّٙب اعزخذِٕب ِٓ ٚع َٛخبطخ ثزٕغ١ك اٌظفحبد.
إْ اٌزؼبًِ ِغ اٌغذاٚي ٚإدساعٙب ف ٟطفحبد اٌ٠ٛت ع ًٙعذاً ِضٍٗ ِضً أ ٞأداح ِٓ أدٚاد
HTML
**156
Table Element
*157*
Table Element
٘زٖ ٘ ٟاٌٛع َٛاٌزٔ ٟجذأ ثٙب إلدساط عذٚي ِى ِٓ ْٛخٍ١خ ٚاحذح أ ِٓ ٚاوضش ِٓ خٍ١خ
<>TABLE<...>/TABLE
ٚا ْ٢ثؼذ إدساط ٘ز ٓ٠اٌٛعّ٠ ،ٓ١غت رحذ٠ذ ػذد اٌظفٛف اٌزٔ ٟش٠ذ٘ب ف ٟاٌغذٚي
<>TR< ...>/TR
ٚثٕفظ اٌش٠ ٟغت رحذ٠ذ ػذد اٌخال٠ب اٌزٔ ٟش٠ذ٘ب ف ٟاٌغذٚي٠ .زُ وزبثخ ٚعُ أشبء اٌخال٠ب
<>TD< ...>/TD
**158
Table Element
*159*
Attribute Of Table
BORDER
رم٘ َٛزٖ اٌخبط١خ ثإػبفخ حذٚد ٌٍغذٚي ٚرحذ٠ذ عّبوزٙبٚ ،اٌمّ١خ االفزشاػ١خ ٌٙب ٘ ٟطفش
**160
Attribute Of Table
WIDTH
ٔغزخذَ ٘زٖ اٌخبط١خ ٌزحذ٠ذ ػشع اٌغذٚيٕ٘ٚ .بن أعٍٛثٌ ٓ١زحذ٠ذ اٌؼشع:
إٌغج ٟأ ٞوزبثخ سلُ إٌغجخ اٌّئ٠ٛخ ٠حذد ػشع اٌغذٚي حغت ػشع ٔبفزح اٌّزظفح( .أٞ
**161
Attribute Of Table
HEIGHT
ٌزحذ٠ذ اسرفبع اٌغذٚي٠ٚ ،ى ْٛرحذ٠ذ ٘زا االسرفبع ِٓ خالي لّ١خ ِطٍمخ رحذد االسرفبع
ثبٌج١ىغً .أ ٚلّ١خ ٔغج١خ رحذد اسرفبع اٌغذٚي ثبٌٕغجخ السرفبع طفحخ اٌّزظفح
ALIGN
ٌ زحذ٠ذ ِحبراح اٌغذٚي أفم١بً ػٍ ٝاٌظفحخ ٕ١ّ٠بً أ٠ ٚغبساً٠ ٛ٘ٚ .أخز اٌمleft ،right ُ١
> “<TABLE ALIGN="Left
> “<TABLE ALIGN="Right
**162
Attribute Of Table
BGCOLOR
DIR
*163*
Table Element
*164*
Table Element
*165*
Table Element
*166*
Table Element
*167*
ColSpan and RowSpan Attribute
ًب١ب أفمٙ١ٍ رٟب اٌز٠ة ِٓ اٌخالٍٛخ ِغ اٌؼذد اٌّط١ٌخ اٌحب١ٍَ ثذِظ اٌخٛم٠
*168*
ColSpan and RowSpan Attribute
Row Spans, created with the rowspan attribute, work just like column spans, but
they cause the cell to span downward over several rows.
)بٍٙ أعفٞبً (أ٠دّٛب ػٙ١ٍ رٟب اٌز٠ة ِٓ اٌخالٍٛخ ِغ اٌؼذد اٌّط١ٌخ اٌحب١ٍَ ثذِظ اٌخٛم٠
*169*
TH and CAPTION Element
ٕ٘بن ٔٛع خبص ِٓ اٌخال٠ب اٌز٠ ٟزُ رؼش٠فٙب ثبعزخذاَ اٌٛعٟ٘ٚ >TH< ... >/TH< َٛ
ٚاٌفشق اٌٛح١ذ ثٕٙ١ب ٚث ٛ٘ >TD< ... >/TD< ٓ١أْ إٌض اٌز ٞرحز٠ ٗ٠ٛظٙش ثخؾ أعٛد
ػش٠غ ِٚحبرارٗ فِٕ ٟزظف اٌخٍ١خ ثظٛسح افزشاػ١خ .خبطخ ٚأْ اٌخظبئض اٌّغزخذِخ ِؼٙب
اٌٛع َٛاألخ١شح اٌّغزخذِخ ف ٟاٌغذاٚي ٟ٘٘ٚ >CAPTION< ... >/CAPTION< ٟ
رخزض ثإػبفخ ػٕٛاْ سئ١غٌٍ ٟغذٚي وىًٌ .زٌه ف ٟٙػٕذِب رىزت ٠زُ ٚػؼٙب ِجبششح ثؼذ
**170
ColSpan and RowSpan Attribute
*171*
ColSpan and RowSpan Attribute
*172*
Table Element
*173*
Table Element
*174*
Table Element
*175*
Table Element
*176*
Table Element
*177*
Table Element
*178*
Div Element
The HTML <div> tag is used to group the large section of HTML elements together.
ً ِ HTML عّخٚػخ اّٛغ ِغ١ّ> ٌزغdiv> َرغزخذ
.ؼ ب
We know that every tag has a specific purpose e.g. p tag is used to specify
paragraph, <h1> to <h6> tag are used to specify headings but the <div> tag is just
like a container unit which is used to encapsulate other page elements and divides the
HTML documents into sections
>h6> ٌٝ> إh1> ُرغزخذَ ػالِخٚ ، ذ فمشح٠ ٌزحذp ِضً ُرغزخذَ ػالِخ، دا
ً ػب ِحذ
ً عُ غشٚ ًٌى
ٜف ػٕبطش اٌظفحخ األخش١ٍ رُغزخذَ ٌزغٟخ اٌز٠ٚحذح اٌحبٚ > رشجٗ رّبًِبdiv> ٌٓىٚ ٓ٠ٚذ اٌؼٕب٠ٌزحذ
*179*
Div Element
><div
><p
ّ٠ىٕه ٚػغ أٛٔ ٞع ِٓ أٔٛاع اٌّحزٕ٘ ٜٛب ،ثّب ف ٟرٌه اٌغذاٚي ٚغ١ش٘ب
></P
></div
**180
Div Element
*181*
Form Element
إٌّبرط رؼزجش ِٓ اٌّٛاػ١غ اٌّزمذِخ فٌ ٟغخ HTMLإال أْ ِؼظُ ِٛالغ اٌ٠ٛت رىبد ال رخٍِٓ ٛ
ٚعٛد٘ب،
٠زُ اعزخذاَ إٌّٛرط ٌزغّ١غ اٌّذخالد ِٓ لجً اٌّغزخذَ .غبٌجًب ِب ٠زُ إسعبي إدخبي اٌّغزخذَ
ثبإلػبفخ إٌ ٝإِىبٔ١خ رٕظِ ُ١ىٔٛبد اٌظفحخ ٚرٕظ ُ١اٌج١بٔبد اٌّذخٍخ ِٓ خالٌٙب ٚرغ ًٙرظُّ١
طفحبد اٌّٛلغ ِّب ٠غ ًٙاٌزفبػً ث ٓ١اٌّٛلغ ٚطبحجٗ ِٓ عٙخ ٚاٌضٚاس ِٓ عٙخ أخش.ٜ
**182
Form Element
HTML Forms are required, when you want to collect some data from the site visitor.
For example, during user registration you would like to collect information such as
name, email address, credit card, etc
أصٕبء، ً اٌّضبي١ عجٍٝ ػ.لغٌّٛبٔبد ِٓ صائش ا١ذ عّغ ثؼغ اٌج٠ ػٕذِب رش، ثخٍٛ ِطHTML ّٔبرط
ثطبلخٚ ٟٔٚذ اإلٌىزش٠اْ اٌجشٕٛػٚ ُِبد ِضً االعٍٛ عّغ ِؼٟ لذ رشغت ف، ًَ اٌّغزخذ١رغغ
The <form> element is a container for different types of input elements, such as:
text fields, checkboxes, radio buttons, submit buttons, etc.
ِشثؼبدٚ خ١ي إٌظٛ اٌحم:ً ِض، اع ِخزٍفخ ِٓ ػٕبطش اإلدخبيٛٔخ أل٠ٚ> ػجبسح ػٓ حبform< ػٕظش
*183*
The Action Attribute
ٚاء وبٔذ طفحخ اٛخ ع١ٌرط إٌّٛبٔبد ا١زُ اسعبي ث٠ فٛ عٞاْ اٌزٕٛذ اٌؼ٠ب رحذٌٙزُ ِٓ خال٠ خ١خبط
ً١ّ٠ا
. صس اإلسعبيٍٕٝمش اٌّغزخذَ ػ٠ اٌخبدَ ػٕذِبٍٝ ٍِف ػٌٝرط إٌّٕٛبٔبد ا١زُ إسعبي ث٠ ، ػبدح
٘زا اٌٍّفٞٛحز٠ .“Page12.PHP” ّٝغ٠ ٍِفٌٝرط إٌّٕٛبٔبد ا١زُ إسعبي ث٠ ، ً اٌّضبي١ عجٍٝػ
*184*
The Action Attribute
رحذد اٌؼٕٛاْ اٌز ٞع١زُ إسعبي ث١بٔبد إٌّٛرط إٌٌ ٗ١ززُ ِؼبٌغزٙب ثبٌظٛسح اٌّطٍٛثخ.
ٚػبدح ٠ى٘ ْٛزا ػٕٛأبً ٌجش٠ذ إٌىزش Email ٟٔٚعٛف ٠زُ إسعبي ث١بٔبد إٌّٛرط إٌ.ٗ١
ح١ش ٠غزمجً ٘زٖ اٌج١بٔبد ٠ٚؼبٌغٙب حغت اٌزؼٍّ١بد اٌّٛعٛدح ف ٗ١وأْ ٠ؼ١فٙب ِضال ً إٌ ٝإحذٜ
اٌظفحبد (وّب ٠حذس ػبدح ف ٟدفبرش اٌضٚاس) أ٠ ٚزحمك ِٓ طحخ ثؼغ اٌحمٛي اٌّذخٍخ ِٚطبثمزٙب
ٌّؼب١٠ش ِؼٕ١خ
**185
The Method Attribute
خبط١خ ٠زُ ِٓ خالٌٙب رحذ٠ذ اٌطش٠مخ اٌز ٟع١زُ ثٙب اسعبي اٌج١بٔبد ػٍ ٝاعبط اٌؼٕٛاْ اٌز ٞرُ
></form
**186
Input Element
> ثؼذحinput< ّىٓ ػشع ػٕظش٠ .رط اعزخذاًِبٌّٕٛ أوضش ػٕبطش اHTML ٟ> فinput< اٌؼٕظش
Type Description
<input type="radio"> Displays a radio button (for selecting one of many choices)
<input type="checkbox"> Displays a checkbox (for selecting zero or more of many choices)
*187*
Input Element
*188*
Input Element
*189*
Input Element
*190*
Attributes Of Input Element
*191*
Attributes Of Input Element
*192*
Attributes Of Input Element
*193*
Attributes Of Input Element
*194*
Attributes Of Input Element
*195*
Attributes Of Input Element
*196*
Attributes Of Input Element
*197*
Select Element
ٌٟ< وزبoption> ُعٚ ٍٗٓ ثذاخ١ّ< الثذ ِٓ اٌزؼselect> ُعٚ ًّؼ٠ ًِٓ اعٚ
<select>
<option> يٚ< اٌؼٕظش األ/option>
<option> ٟٔ< اٌؼٕظش اٌضب/option>
<option> < اٌؼٕظش اٌضبٌش/option>
</select>
*198*
Select Element
<Select> Attributes
*199*
Select Element
<Option> Attributes
*200*
Select Element
*201*
Select Element
*202*
Select Element
*203*
Select Element
*204*
Select Element
*205*
Optgroup Element
<optgroup>…</optgroup>
ٚعُ ٚظ١فزٗ عؼً اٌمبئّخ إٌّغذٌخ رح ٞٛػٍ ٝػذح ِغّٛػبد ٌٚىً ِغّٛػخ ػٕبطش
**206
Optgroup Element
*207*
Optgroup Element
*208*
Optgroup Element
*209*
Textarea Element
ثبعزخذاَ ( textareaػٕظش رحىُ ٠غّح ٌٍّغزخذَ إدخبي ٔض ِزؼذد األعطش) ّ٠ ،ىٕه
وزبثخ ػذد غ١ش ِحذٚد ِٓ األحشف .لُ ػبد ًح ثزؼّ ٓ١خظبئض اٌظفٛف ٚاألػّذح ٌزحذ٠ذ حغُ
ِٕطمخ إٌض
**210
Textarea Element
*211*
Textarea Element
*212*
Button Element
*213*
Fieldset Element
ِؼٍِٛبد اٌذخٛي اعُ اٌّغزخذَ ٚوٍّٗ اٌّشٚس ٠ٚزُ رغّ١خ اٌّغّٛػخ ثبعزخذاَ اٌٛعُ
><legend
**214
Fieldset Element
*215*
Form Element
*216*
Form Element
*217*
Form Element
*218*
Web Design - HTML
*219*