WDD - Hyper Text Markup Language
WDD - Hyper Text Markup Language
Development
LESSON [4] – HTML - HYPER TEXT MARKUP LANGUAGE
Code
Notice that there is an exclamation point (!) in the opening tag, but not in the closing tag.
<p>This is a paragraph.</p>
➢ You can click on a link and jump to another document or a web page.
Example
<a href="https://www.imdb.com/">Visit our HTML tutorial</a>
The href attribute specifies the destination address (https://www.imdb.com) of the link.
The link text is the visible part.
The <img> tag is empty, it contains attributes only, and does not have a
closing tag.
Syntax
<img src="url">
Example :
Note: Always specify the width and height of an image. If width and height are not specified, the
page might flicker while the image loads.
By default the background image will repeat itself if it is smaller than the element where it is specified,
in this case the BODY element.
RGB Value
The HTML class attribute makes it possible to define equal styles for elements
with the same class name.
Here we have three <div> elements that point to the same class name:
The End..!!