Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

Monday, March 23, 2015





Untitled Document




HTML comment and headings.

 

Comments in HTML

Comments will add to increase the readability of your HTML code as well as details about your code.Browser will not display your comment.

we want to set a comment in HTML we use <!—comment--> tag.

The comment tag includes the actual comment text. Any instance of --> ends the comment. Whitespace may be included between the -- and the > but not between the <! and the first --.

EX :-

<!--this is comment-->

Set a Headings in HTML web page.




There are 6 styles to add a heading to your HTML web page.

When set Headings using <h1> , <h2> ,<h3> ,<h4>, <h5> ,<h6> tags.

Each tag has each font sizes. Do following activity for understand behaviors of this tags.

<html>

<head><title>My first web page</title>

</head>

<H1>HTML is Easy</H1>

<h2>HTML is Easy</h2>

<h3>HTML is Easy</h3>

<h4>HTML is Easy</h4>

<h5>HTML is Easy</h5>

<h6>HTML is Easy</h6>

</html>

Set alignment to the headings.

For set alignment to the heading using align option. When choose alignment of heading, It can be 3 types.

  1. Left
  2. Right
  3. Center

Now lets see how to set alignment to the heading.

<html>

<title>My first web page</title>

<H1 align="center">HTML is Easy</H1>

<h2 align="right">HTML is Easy</h2>

<h3 align="left">HTML is Easy</h3>

</html>

Lets refer next tutorial



HTML comment and headings for beginers

Untitled Document HTML comment and headings.   Comments in HTML Comments will add to increase the readability of your HTML code as...




HTML basic For beginners




HTML Basics

 



What constitutes a Tag?

A tag can consist of the following three items inside the angle brackets, or wickets.

Element - Provides the main instruction of the tag. Elements include <FONT>, <TABLE>, and many others.

Attribute -Specifies a quality or describes a certain aspect of the element. For example, <p> has several attributes, including ALIGN.

Value - Gives value to the element and its attribute. For example, <DIV ALIGN="center"> has a value that allows you to center text.

Some HTML tags use only an element and do not support attributes and values. Others,such as the <DIV> tag, support attributes and values.

HTML Document.

<HTML>

<HEAD>

<TITLE>Web Page Title</TITLE>

</HEAD>

<BODY>

Our web page body is here

</BODY>

</HTML>

The Document Type Declaration (DTD) statement begins your HTML code by specifying the HTML version number and type used in the document. You should note that the DTD statement is technically not an HTML statement, but an SGML statement. The opening <HTML> and closing </HTML> tags enclose the entire page.

Within any page, there are two document sections: the HEAD and the BODY. Each of these sections has corresponding <HEAD> and <BODY> container tags that enclose any text or other tags pertaining to those sections.

Every page should have a title, enclosed within <TITLE> tags in the HEAD section.

The title is very important. Text between <TITLE> tags will appear in the title box of the browser window, in the history list, and on the page when printed.

Title text also becomes the bookmark name if the page is bookmarked or added to a browser Favorites folder.

All text to be displayed on the page through the browser or HTML interpreter needs to appear between the <BODY> and </BODY> tags.

Element Use for
<html> Identifies the document type as HTML.
<head> Encloses the HEAD section of the document. The title will appear

in the HEAD section, and also java script,css external document links will appear.
<title> Encloses the text that will appear in the browser title bar when the page is loaded. The TITLE container is itself contained within the <HEAD> tags.web search engines will firstly compair this title with what is search.
<body> the web page body is create in the BODY tag,section will appear in the browser window when that page is loaded.

 


Lets see next tutorial



HTML basic For beginners

HTML basic For beginners HTML Basics   What constitutes a Tag? A tag can consist of the following three items inside the angl...

Tuesday, March 17, 2015





HTML Introduction



HTML (Hypertext Markup Language) is the set of markup symbols and that says to web browser how to display a Web page's words and images for the user.

HTML is mark up language

HTML is not case sensitive mark up language.

Each individual markup code is referred to as an element.

Each tag has an opening tag and closing tag.

<title>
</title>

But every tag are not closing tags.They are called Empty Tags.
<br>

When create  HTML file using any ASCII supporting editor as like notepad, sublime, WordPad.


When we save this HTML Document using .html or .htm as file extension.



EX:- first code.html


Lets see basic syntax in html.

TITLE Encloses the text that will appear in the browser title bar when the page is loaded.

The TITLE container is itself contained within the  <HEAD> tags.

When start the html document using <html> tag.


The <TITLE> tag is used to specify the text appears in the Web browser’s title bar.

Ex:-

<html>
<head>
<title>My first web page</title>
</head>
</html>
Type this code in notepad, save and open with using web browser.

HTML Introduction

HTML Introduction HTML (Hypertext Markup Language) is the set of markup symbols and that says to web browser how to display a Web ...

 

ICT SKILL © 2015 - Designed by Templateism.com, Plugins By MyBloggerLab.com