html
DESCRIPTION
HTML tutorial (Basics) language: EnglishTRANSCRIPT
![Page 2: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/2.jpg)
AgendaWhat is HTML.
HTML Simple Example.!DOCTYPE.
title.h tag.p tag.Lists.
Attributes.Links.
Images.Lines.
Comments.Text format.
Tables.
![Page 3: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/3.jpg)
HTMLHyper Text Markup Language
Markup Language
Set of markup tags
Tags
Keywords surrounded by angle brackets
Normally come in pairs
Start Tag
Opening Tags
<>
End Tag
Closing Tags
</>
![Page 4: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/4.jpg)
HTML Basic Structure<!DOCTYPE html>
<html><head>
<title></title>
<head><body></body>
</html>
![Page 5: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/5.jpg)
Simple Example
![Page 6: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/6.jpg)
The <!DOCTYPE> Declarationhelps the browser to display a web
page correctly.
![Page 7: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/7.jpg)
Page Titles
![Page 8: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/8.jpg)
HTML Headings
Headings are
important
<h1> For most
importantheader
SE use your
headings
البحث مواقع تستخدمهاموقعك لفهرسة
<h1>………..<h6>
![Page 9: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/9.jpg)
HTML Headings
![Page 10: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/10.jpg)
HTML Paragraphs
![Page 11: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/11.jpg)
Don't Forget the End Tag
النتيجة • نفس تعطى أن يمكن التاجز بعض
يكون ألنة األقفال تاج نضيف لم اذا حتى
أختياري.
ثم • ذلك على تعتمد أن تستطيع ال ولكنك
فيها مرغوب غير نتائج يعطي موقعك تجد
المتصفحات بعض .على
![Page 12: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/12.jpg)
Lists
• The ul tag is used to define
unordered lists.
• The ol tag is used to define
ordered lists.
• Inside the lists, the li tag is used
to define each list item.
<ul> <li> </li> <li> </li> <li> </li></ul>
<ol> <li> </li> <li> </li> <li> </li></ol>
![Page 13: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/13.jpg)
Lists
Unordered
Lists
![Page 14: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/14.jpg)
ListsOrdered Lists
![Page 15: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/15.jpg)
ListsSource Code
Result
![Page 16: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/16.jpg)
HTML Attributes
• HTML elements can have att ributes.
• Att ributes provide additional information about
an element.
• Att ributes are always specified in the start tag.
Always Quote Att ribute Values = " value "
![Page 17: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/17.jpg)
HTML Links
An anchor tag <a> is used to define a
link, but you also need to add the
destination of the link. The destination of the link is defi ned in the
href attribute of the tag.
The link can be absolute, such as:
"http://www.google.com", or it can be
relative to the current page.
![Page 18: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/18.jpg)
HTML Links
<!DOCTYPE html> <html> <body>
<a href="http://www.yahoo.com"> link </a> </body> </html>< a href= "destination " target="_blank" > Visit this page
in a new tab </a>
![Page 19: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/19.jpg)
Mailto link
To create a link on your Web site that
opens an email window .
<a href="mailto:e-mail">Send </a>
Send email to more than one address
<a href="mailto:e-mail1, e-mail2">Send </a>
![Page 20: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/20.jpg)
HTML Images
<img
src="facebook.jpg">
img Tag
<img src="Destination" alt="Text" width= "Number" height= "Number" >
![Page 21: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/21.jpg)
HTML Images
<img src="facebook.jpg" alt= "facebook
image" >Image source Alternate text
The alt attribute provides alternative information for an image if a user for some reason cannot view it .
Alternate Text
![Page 22: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/22.jpg)
HTML Images
<img src="facebook.jpg" alt= "facebook
image" width="300" height=“500">
If the image cannot be displayed, the value of the alt attribute will be displayed
Width & Height
![Page 23: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/23.jpg)
HTML Lines
The <hr> tag creates a horizontal line in HTML
Doc.
![Page 24: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/24.jpg)
HTML Comments
مفيد ذلك و الكود لوصف التعليقات أدراج يمكن
كنت اذا خاصا� و جدا
مرة تعود سوف كنت اذا أو مجموعة في تعمل
الكود لتعديل .أخرى
<!-- -->
![Page 25: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/25.jpg)
HTML Text Formatting
Often strong renders as bold<strong>............
</strong>
<b> …………………</b>
![Page 26: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/26.jpg)
HTML Text Formatting
Often italic renders as emphasis<i>............ </i>
<em>
…………………</em>
![Page 27: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/27.jpg)
HTML Text Formatting
![Page 28: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/28.jpg)
Table DataTable rowTable
<table></table>
<tr>
</tr>
<td>
</td>
<td>
</td>
<tr>
</tr>
<td>
</td>
HTML Tables
![Page 29: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/29.jpg)
HTML Tables
Table DataTable rowTable
<table></table>
<tr>
</tr>
100
200
<tr>
</tr>100
![Page 30: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/30.jpg)
HTML Tables
Table DataTable rowTable
<table ></table>
<tr>
</tr>
row 1, cell 1
row 1, cell 2
<tr>
</tr>
row 2, cell 1
row 2, cell 2
![Page 31: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/31.jpg)
HTML Tables
Table DataTable rowTable
<table border=“ ”></table>
<tr>
</tr>
row 1, cell 1
row 1, cell 2
<tr>
</tr>
row 2, cell 1
row 2, cell 2
![Page 32: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/32.jpg)
HTML Tables
Table DataTable rowTable
<table border=“ ”></table>
<tr>
</tr>
row 1, cell 1
row 1, cell 2
<tr>
</tr>
row 2, cell 1
row 2, cell 2
![Page 33: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/33.jpg)
HTML Tables
![Page 34: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/34.jpg)
HTML Tables
![Page 35: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/35.jpg)
HTML Tables
![Page 36: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/36.jpg)
![Page 37: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/37.jpg)
End of HTML Coding Part 1
![Page 38: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/38.jpg)
Forms used to send data across the web and
are often used as contact forms to
convert information inputted by a user
into an email.
Extra
![Page 39: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/39.jpg)
know
Visual Illusion
Extra
![Page 40: HTML](https://reader035.vdocument.in/reader035/viewer/2022070318/557c2695d8b42aa77f8b4a5c/html5/thumbnails/40.jpg)
know
Visual Illusion
Extra