Professional Documents
Culture Documents
Web-programming-practical Lect #3.1- طلاب (HTML)
Web-programming-practical Lect #3.1- طلاب (HTML)
Lect. # 3.1
<HTML>
Web Programming
The
First
Lecturer
Stage
(2015-2016)
Assistant Lecturer
• H.W.
Hiiiiiiiiiiiiiiiiiiiiii
Note ::
Only the <body> area (the white area) is displayed by the browser.
The Browser does not display the HTML tags, but uses
them to determine how to display the document:
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
HTML
HTML
HTML
HTML
HTML
HTML
HTML
HTML
HTML
Web - Programming - Practical part (HTML)
26 - First Stage -
Assist. Lect. Mrs. Najaat Y. Denha
HTML Paragraphs
• HTML documents are divided into paragraphs.
• The HTML <p> element defines a paragraph.
• Browsers automatically add an empty line before
and after a paragraph.
• Example:
<p>This is a paragraph</p>
<p>This is another paragraph</p>
• Example
<!DOCTYPE html>
<html>
<body>
<h1 style="color:blue"> This is a heading </h1>
<p style="color:red“ > This is a paragraph . </p>
</body>
</html>
• Note
Style/color attribute Name = style and value = “color:blue”
HTML Styles
HTML Text Formatting Elements
HTML Color Names
HTML Images