Tuesday, 8 March 2016

HTML Paragraph Tag

Defines a paragraph into web document. HTML paragraph define using <p> tag.

Example-Code:

<body>
 <p> This is first Paragraphs </p>
 <p> This is Second Paragraphs </p>
</body>

HTML Comment Tag

Defines the Comments <!-- Your Comment --> tag.

Example-Code:

<body>
 <img src="../../jix/w2t.png" width="380" height="70" />  <!--Image File-->
</body>

HTML Images Tag

To display Images into web document. HTML Images are define inside the <img> tag.

Example-Code:

<body>
 <img src="../../jix/w2t.png" width="380" height="70" />
</body>

HTML Link Tag

Defines the Link in internal or External document. HTML Link are defined inside the <a> tag.

Example-Code:

<body>
 <a href="http://www.way2tutorial.com">Web Development Tutorial</a>
</body>

HTML Headings Tags

Defines the Heading <h1> to <h6> tags.

Example-Code:

<body>
 <h1> Heading Tag </h1>
 <h2> Heading Tag </h2>
 
 <h5> Heading Tag </h5>
 <h6> Heading Tag </h6>
</body>

Definition

HTML <head> tag is a Container Tag. All Header element contains like general information about page, meta-information, style sheet URL and document type information.
HTML <head> tag inside elements does not display in body part on web browser.
HTML <head> tag inside Elements is <!doctype>, <base>, <link>, <meta>, <title>, <style> and <script>. 

Head Elements Usages

HTML <!doctype> tag use for define a type of document.
HTML <link> tag is use for linked external CSS style sheet, external javascript etc... URL define.
HTML <meta> tag use for improve a rankings in search engines means optimize webpage using proper meta data information.
HTML <title> tag define a document title.
HTML <style> tag is use for write internal CSS inside current document.
HTML <script> tag is use for create a dynamic web pages easy and more flexible in internal and external write a javascript code.

Head Structure

<html>
<head>
<link rel="stylesheet" type="text/css" href="/styles.css"> 
<title> Example is Head Tag Elements </title>
<script src="javascript.js">
</script> 
</head>
<body>
  <!-- Body Part -->
</body>
</html>

Head Elements


TagDescription
<!DOCTYPE>Defines a document type and write before the <html> start tag.
<head>Defines a harder information about the webpage document.
<meta>Defines meta information use to improve a rankings in Search Engines.
<title>Defines a Document Title.
<link>Defines a URL link using External Style Sheet, Javascript etc..
<base>Defines a base is used to specify a base URL to relative webpage URL links.

Categories

Powered by Blogger.

Popular Posts