Sef Web Session 1 HTML Basics
Sef Web Session 1 HTML Basics
Sef Web Session 1 HTML Basics
Topic: HTML
2
HTML Basics
3
HTML Basics
Tag Attributes
4
HTML Basics
5
HTML Basics
This is a heading
This is a heading
This is a heading
This is a heading
This is a heading
This is a heading
6
HTML Basics
7
HTML Basics
HTML Fonts
Specifies the font face, font size, and font color of text.
8
HTML Basics
Problem
9
HTML Basics
10
HTML Basics
Nested Tags
For example:
<p><em>This is the<b>proper <sup>way</sup> to close
<b>nested tags. </em></p>
Preview:
This is the proper way
to close nested tags.
11
Lists and Links
Unordered Lists
Ordered Lists
Definition Lists
12
Lists and Links
Unordered Lists
13
Lists and Links
Ordered Lists
• Inside a list item, you can put paragraphs, line breaks, images,
links, other lists, etc.
• Other values of ‘type’ attribute are A,a,I,i.
• Default value is 1, to change value use start/value attribute.
14
Lists and Links
Definition Lists
15
Images and Tables
<img> Tag
16
Images
Example:
<img src=“http://
dashboard.valueminds.com/images/valuemindslogo.jp
g
">
In this case it is called Absolute Path. As it doesn’t
related to the current directory
17
Images and Tables
<img> Attributes
Image Dimensions
Border
18
Images
Alignment of Images
align
• Specifies the alignment of an image according to surrounding
elements
• left, right, top, middle, bottom are the values of align
attributes
Example:
<img src=“ts.gif” align=“right”>
19
Images
Alignment of Images
Example:
<p> This is text in paragraph tag… <img src=“ts.gif”
align=“top”></p>
Example:
<p> This is text in paragraph tag… <img src=“ts.gif”
align=“bottom”></p>
21