Insert image — The <img> Element:
You will insert any image in tour web page by using <img> tag. Following is the simple syntax to use this tag.
<img src= “image URL” attr_name=”attr_value” … more attributes />
Comments are piece of code which is ignored by an web browser. It is good practice to comment your code, especially in complex documents, to indicate sections of a document, and any other notes to anyone looking at the code.
A HTML marquee is a scrolling piece of text displayed either horizontally across or vertically down your web site page depending on the settings. This is created by using HTML tag <marquee>.
Syntax:
Emphasized Text — The <em> Element:
The content of an <em> element is intended to be a point of emphasis in your document, and it is usually displayed in italicized text. The kind of emphasis intended is on words such as “must” in the following sentence:
Bold Text- The <b> Element:
Anything that appears in a <b>……</b>element is displayed in bold, like the word bold here:
<p>The Following word uses a <b>bold</b>typeface.</p>
The xml:lang attribute is the XHTML replacement for the lang attribute. The value of the xml:lang attribute should be an ISO-639 country code.
Generic Attributes:
attribute
Attributes are another important part of HTML markup. An attribute is used to define the characteristics of an element and is placed inside the element’s opening tag. All attributes are made up of two parts: a name and a value:
Specifying Keywords:
We specify keywords which will be used by the search engine to search a web page. So using following tag you can specify important keywords related to your page.
<head>
HTML lets tou specify metadata — information about a document rather than document content — in a variety of ways. The META element can be used to include name/value pairs describing properties of the HTML document, such as author, Expiry Date, a list of Keywords, author etc.
The <body> element appears after the <head> element and contains the part of the web page that you actually see in the main browser window, which is sometimes referred to as body content.
A <body> element may contain anything from a couple of paragraphs under a heading…