Skip to main content

HTML Introduction

HTML Introduction

         HTML :

                         Html stands for “Hyper Text Markup Language”.  HTML is not a programming

Language It is a formatting Language.

       What is HTML?

Ø HTML represents Hyper Text Markup Language

 

Ø HTML is the standard markup language for making Web pages

 

Ø HTML portrays the structure of a Web page

 

Ø HTML comprises of a progression of components

 

Ø HTML components advise the program on how to show the substance

 

Tags and attributes:

                Html commands are known as tags Html tags are surrounded by

            Angle brackets “<tag-name>” this one is called staring tag

            And </tag-name>” this one called a closing tag.

        Example:

                A simple html documents

                             <!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph </p>

</body>
</html>

 

Model Explained

 

1.     The <!DOCTYPE html> presentation characterizes that this report is a HTML5 archive

 

2.     The <html> component is the root component of a HTML page

 

3.     The <head> component contains meta data about the HTML page

 

4.     The <title> component indicates a title for the HTML

 

5.      

6.     The <body> component characterizes the record's body, and is a compartment for all the noticeable substance, for example, headings, sections, pictures, hyperlinks, tables, records, and so forth

 

7.     The <h1> component characterizes a huge heading

 

8.     The <p> component characterizes a section

     What is an HTML Element?

An HTML element is defined by a start tag, some content, and an end tag:

<tag-name>Content...</tag-name>

The HTML element is everything from the start tag to the end tag:

   <h1> Heading</h1>

   <p> paragraph.</p>

Basic HML document Structure:

             <HTML>

         <HEAD> </HEAD>

        <BODY>                          </BODY>


            </HTML>

 

    Display a simple message on the web page:

        1.Open notepad and type the following code


                    <!DOCTYPE html>

<html>

<head>

<title>Page Title</title>

</head>

<body>


<h1>My First Heading</h1>

<p>My first paragraph.</p>


</body>

</html>

        2.Save the file as example.html

       3.Double click the file. The web page will appear in the browser as                below?




Comments

Popular posts from this blog

Features of Operating System

 Features of Operating System All application like games, MS office, Firefox requires a reasonable climate to execute and play out their assignment. The working framework assists the client with associating with the framework without knowing to chip away at the coding languages. It isn't plausible for anybody to utilize any cell phones or PCs without conveying the working framework. It is compulsory to have at any rate one working framework to execute the projects and play out the assignment. So in the straightforward, working framework is characterized as the product that goes about as a line between PC equipment and end-client for simple collaboration to finish the assignment viably.  Highlights of Operating System  There is a wide scope of outstanding highlights in the working framework which is creating step by step. The development of OS is splendid in light of the fact that it is created in 1950 to deal with the capacity tapes and now it was functioning as an interf...

Computer Graphics and image processing Mathematical Background

 Computer Graphics and image processing Mathematical  Background Numerical Background  1.1 Introduction  The instructed material in this course draws upon a numerical foundation in direct polynomial math.  We momentarily update a portion of the fundamentals here, prior to starting the course material in Chapter 2.  1.2 Points, Vectors, and Notation  Quite a bit of Computer Graphics includes conversation of focuses in 2D or 3D. Normally we compose such  focuses as Cartesian Coordinates for example p = [x, y]  T or q = [x, y, z]  T  . Point organizes are  accordingly vector amounts, instead of a solitary number for example 3 which we call a scalar  amount. In these notes, we compose vectors in striking and underlined once. Grids are composed  in striking, twofold underlined.  The superscript [...]  T indicates rendering of a vector, so focuses p and q are segmented vectors  (organizes stacked on top of ea...

HTML Headings

  Headings: Heading are used to display different type of headings. “<Hn>” is the opening tag of headings and the closing tag is “</Hn>” where “n” is the size of the heading. Its value is from 1 to 6 . 1 represents the largest size and 6 represents the smallest size. HTML headings are titles or captions that you need to show on a site page . Example: compose and html code that show the heading on a page           <HTML>           <BODY> <h1> Heading      2 </h1> < h2 > Heading 2 < /h2 > < h3 > Heading 3 < /h3 > < h4 > Heading 4 < /h4 > < h5 > Heading 5 < /h5 > < h6 > Heading 6 < /h6 > </HTML>           </BODY> Save file with “heading.html” Double click the file. The page will open as follows...