Skip to main content

HTML INTODUCTION(TUTE 1)

                        Introduction

HTML (Hypertext Markup Language) uses a markup system composed of elements which represent specific content.

HTML is sometimes called a programming language but it has no logic, so is a markup language. HTML .......

Creating a simple page


The following HTML example creates a simple "Hello World" web page.




<!DOCTYPE html>

 <html >
   
 <head>   
                   <title>Hello</title>   
 </head>
          <body>  
                  <h1>Hello World!</h1>       
 <p>This is a simple paragraph.</p>  
        </body>
</html>


These are the tags used in the example:
Tag Meaning <!DOCTYPE> the HTML version used in the document. In this case it is HTML5. 

<html>

Opens the page. No markup should come after the closing tag (</html>). The lang attribute declares the primary language of the page using the ISO language codes (en for English). See the Content Language topic for more information.

<head>

Opens the head section, which does not appear in the main browser window but mainly contains information about the HTML document, called metadata. It can also contain imports from external stylesheets and scripts. The closing tag is </head>.


<h1> A level 1 heading for the page.((Heading are use in 6 time as,h1,h2,h3,h4,h5,h6)
                                                                              See headings for more information.
<p> Represents a common paragraph of text.

Next page TUTE-2

Comments

Popular posts from this blog

short key of c programming

short key of c programming Shortcut Keys(Hot Keys)     Operation    Alt + F  -            Open file Alt + F3 -           Close Alt + F + N  -    New file Alt + X  -           Exit turbo c Alt + F5 -          Output Screen Alt + F + L  -    Check programme load or not. Alt + ENTER  - Full screen Shift + Del -       Cut Shift + Insert -   Paste Ctr + Insert -    Copy Alt+F9 -           Compile a program Ctr + F8           Bbreak point Ctrl+F9 -          To run a program Ctrl+s -...

Unordered List, Nested lists, Description List,TUTE-8

                                                             Unordered List An unordered list can be created with the <ul> tag and each list item can be created with the <li> tag as shown by the example below: <ul>   <li>Item</li>   <li>Another Item</li>   <li>Yet Another Item</li>  </ul> This will produce a bulleted list (which is the default style): You should use ul to display a list of items, where the order of the items is not important. If changing the order of the items makes the list incorrect, you should use <ol>.   Nested lists You can nest lists to represent sub-items of a list item. <ul>   <li>item 1</li>   <li>item 2     <ul>    ...