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

HTML Basics

Posted by Tushar Bedekar
All the webpages in HTML are defined in terms of document object model (DOM). There are various different document of HTML known to be as a HTML tags < >. These are known to be as the elements of the HTML

  • root tag <html>    </html>
  • <head>    </head>
  • <title>    </title>
  • <body>      </body>
The <html>    </html>tag is known as root tag of a tree and rest tags are known as elements of the tree or can termed as branches of the tree. The tree here is nothing but the webpage.

Each and every page in html is defined by its Doctype deceleration. This deceleration may be optional in some HTML versions. The Doctype deceleration help the browser to display the contents of the webpage correctly in the way that is needed by the developer of the webpage.

<head>    </head>  the program or the code/ statement written inside the head tags is only for the browser, that is it is not displayed on the web browser. Here the developer can define the metaname  which is discussed later. meta content and favicon image and other links etc. CSS (cascade style sheets) is also being putted here.

<title>    </title>   it is used to declare the title of the webpage. for example for this webpage the title tag can be written as 
<title> Advance Computing And Programming </title>

<body>    </body> the content that is to be displayed on the webpage is being written here. various different types of tags are used in this section to display different element of the webpage. Advance collection is being discussed later.

Example:


<!DOCTYPE html>
<html>
<body>

<h1> FirstHeading </h1>
<p>My Name is Tushar Bedekar</p>

</body>
</html>

Key Note:-

  • The HTML files are stored with .html extension
  • The Homepage of any webpage is Index.html
  • This webpage HTML code can be viewed by pressing Ctrl + U 
Read More

HTML Introduction

Posted by Tushar Bedekar
As HTML is mainly used to write and develop web pages so lets start with the basic program me and detailed description about the different part is given below:-

Basic Structure of the web page 


program me:-

<!DOCTYPE html>


<html>
<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>
</html>


Explanation:-   The DOCTYPE declaration defines the document type.The text between <html> and </html> describes the web page.The text between <body> and </body> is the visible page content.The text between <h1> and </h1> is displayed as a heading.The text between <p> and </p> is displayed as a paragraph

HTML Tags

HTML markup tags are usually called HTML tags
  • HTML tags are keywords (tag names) surrounded by angle brackets like <html>
  • HTML tags normally come in pairs like <b> and </b>
  • The first tag in a pair is the start tag, the second tag is the end tag
  • The end tag is written like the start tag, with a forward slash before the tag name
  • Start and end tags are also called opening tags and closing tags
Style to write the tags in HTML:-<tagname>content</tagname>

HTML Editors

Generally there are many different type of editor for HTML programming such as:-
  1. Note pad
  2. Microsoft Visual Studio
  3. Sub-line Text editor Etc.
and also generally web browsers are used to see the out put of the program me 

Following is the most basic editor that we have used to write the HTML program me
that is note pad

Steps:-1.open note pad
                2.write the above program me and save it.
                3.open browser and open the note pad from the file option given in the toolbar of                          the browser.



Read More

HTML Info

Posted by Tushar Bedekar

HTML or HyperText Markup Language is the main markup language for creating web pages and other information that can be displayed in a web browser.The purpose of a web browser is to read HTML documents and compose them into visible or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page.




HTML elements form the building blocks of all websites. HTML allows images and objects to be embedded and can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts written in languages such as JavaScript which affect the behavior of HTML web pages.
Web browsers can also refer to Cascading Style Sheets (CSS) to define the appearance and layout of text and other material.

key Points:-
  • HTML stands for Hyper Text Markup Language
  • HTML is a markup language
  • A markup language is a set of markup tags
  • The tags describe document content
  • HTML documents contain HTML tags and plain text
  • HTML documents are also called web pages
Read More
back to top