HTML
HTML
text document
that contains
HTML tags.
Website
is a collection of related web pages,
images, videos or other digital assets
that are addressed with a common
domain name or IP address in an
Internet Protocol-based network.
Website
Hypertext and Hyperlinks
• Hyperlink - is a reference to a
document that the reader can directly
follow.
• Hypertext – is a text with hyperlinks
Hypertext and Hyperlinks
WEBMASTER
Uniform Resource Locator (URL)
• Adobe Dreamweaver
HTML Basic
• All HTML documents must start with a document
type declaration: <!DOCTYPE hmlt>.
<a href="https://www.facebook.com">This is
a link</a>
HTML Images
HTML images are defined with the <img> tag.
<a href="https://www.Facebook.com">Visit
Facebook</a>
The src Attribute
• The <img> tag is used to embed an image in
an HTML page. The src attribute specifies the
path to the image to be displayed:
<img src="img_girl.jpg">
The src Attribute
There are two ways to specify the URL in the
src attribute:
Ex.:
src="https://www.facbook.com/images/img_girl.jpg".
The src Attribute
2. Relative URL - Links to an image that is
hosted within the website.
Example: src="/images/img_girl.jpg"
The width and height Attributes
The <img> tag should also contain the width
and height attributes, which specify the width
and height of the image (in pixels):