what is HTML?? and what is to use
what is HTML__ and what is to use

what is HTML?? and what is to use

what is HTML?? and what is to use. If You Find The Answer Of This Question Then This Article Is Definitely For You. In This Article We Will Discuss Internet Security Concepts. So Without Wasting Time Let’s Know About The What Is HTML.

Hyper Text Markup Language(HTML)  is a language that runs on a computer that has a web browser installed in it. It has a collection of styles that defines the various components of a World Wide Web document.

An HTML document can be opened in any operating system using any hardware such as PC, Macintosh or UNIX operated machine.

HTML was invented for the Internet by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics (CERN) in Geneva. HTML documents are created as plain-text (ASC11) files using any text editor.

However, one can also use word-processing software which saves documents as “text only with lie breaks”. After you create a text file using such software, give it the extension as html and run it using a Web browser such as Internet Explorer from Microsoft Corporation.

It is so simple to design documents using HTML that you will be tempted to continue it till you have mastered the entire language. This is the secret behind the success of the Internet, which has HTML as the basic language to design Web Pages.

Table of Contents

What is HTML?

HTML is a language for describing web pages.

  • HTML stands for Hyper Text Markup Language.
  • HTML is not a programming language, it is a markup language.
  • A markup language is a set of markup tags.
  • HTML uses markup tags to describe web pages.

HTML Tags :-

HTML markup tags are usually called HTML tags.

  • HTML tags are keywords 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 end tag.
  • Start and end tags are also called opening tags and closing tags.

HTML Documents = Web Pages :-

  • HTML documents describe web pages.
  • HTML documents contain HTML tags and plain text.
  • HTML documents are also called web pages.

The purpose of a browser (like Internet Explorer or Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of page:

<html>

<body>

<h1> My first heading</h1>

<p> My first paragraph</p>

</body>

</html>

Example Explained :

  • The text between <html> and </html> describe 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 or HTML Extension ?

When you save an HTML file, you can use either the .htm or the .html extension. We use .htm in our examples. It is a habit from the past, when the software only allowed three letters in file extensions. With new software it is perfectly safe with basic tags. 

HTML BASIC :-

Here we are going to start with HTML, basics, just start with basic tags. 

HTML Headings :-

HTML heading are defined with the <h1> to <h6> tags.

<h1>This is a heading </h1>

<h2>This is a heading </h2>

<h3>This is a heading </h3>

HTML Paragraphs :-

HTML paragraphs are defined with the <p> tag.

 <p>This is a paragraphs</p>

 <p>This is another paragraph</p>

HTML Links :-

When you want to link one HTML document to another HTML document, you can use Hypertext Links. Clicking on a section of text or an image in one web page will open an entire web page or an image of the linked web page. The text or an image that gives such linkage are known as Hyperlink or Hotspot.

HTML links are defined with the <a> tag.

<a href= “ http://www.google.com ”> This is a link</a>

HTML Images :-

HTML images are defined with the <img> tag.

<img src= “Name” width= “—” height= “—” />

HTML Elements :-

An element is a fundamental component of the structure of an HTML text document. Some examples of elements are heads, tables, paragraphs, and lists.

HTML documents are defined by HTML elements.

HTML Elements :- 

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

Start tagElement contentEnd tag
<p>
<a href= “default.htm”>
<br />
This is a paragraph
This is a link 
This is a break
</p>
</a>
  • The start tag is often called the opening tag. The end tag is often called the closing tag.

HTML Element Syntax :-

  • An HTML element starts with a start tag / opening tag.
  • An HTML element ends with an end tag / closing tag.
  • The element content is everything between the start and the end tag.
  • Some HTML elements have empty content.
  • Most HTML elements can have attributes. 

HTML ATTRIBUTES :-

Attributes provide additional information about HTML elements.

HTML Attributes :-

  • HTML elements can have attributes.
  • Attributes provide additional information about the element.
  • Attributes are always specified in the start tag.
  • Attributes come in name/value pairs like: name= “value”.

Attribute Example :

HTML links are defined with the <a> tag. The link address is provided as an attribute.

<a href= “https://www.google.com”>This is a link</a>.

Always Quote Attribute Value :

  • Attribute values should always be enclosed in quotes.
  • Double style quotes are the most common, but single style quotes are also allowed.
  • In some rare situations, like when the attribute value itself contains quotes, it is necessary to use single quotes: name= ‘John “ShotGun” Nelson’.

HTML Tip : Use Lowercase Attributes

Attribute names and attribute values are case-insensitive. However, the World Wide Web Consortium (W3C) recommends lowercase attributes/attribute values in their HTML 4 recommendation. Never versions of (X) HTML will demand lowercase attributes.

HTML Attributes Reference :-

A full list of legal attributes for each HTML element is listed in our :

TagDescription
<!–…–>Defines a comment.
<!DOCTYPE>Defines the document type.
<a>Defines an anchor.
<abbr>Defines an abbreviation.
<acronym>Defines an acronym.
<address>Defines contact information for the author/owner of a document.
<applet>Deprecated. Defines an embedded applet.
<area/>Defines an area inside an image-map.
<b>Defines bold text.
<base/>Defines a default address or a default target for all links on a page.
<basefont/>Deprecated. Defines a default font, color, or size for the text in a page.
<bdo>Defines the text direction.
<big>Defines big text.
<blockquote>Defines a long quotation.
<body>Defines the document’s body.
<br/>Defines a single line break.
<button>Defines a push button.
<caption>Defines a table caption.
<center>Deprecated. Defines centered text.
<cite>Defines a citation.
<code>Defines computer code text.
<col/>Defines attribute values for one or more columns in a table.
<colgroup>Defines a group of columns in a table for formatting.
<dd>Defines a description of a term in a definition list.
<del>Defines deleted text.
<dfn>Defines a definition term.
<dir>Deprecated. Defines a directory list.
<div>Defines a section in a document.
<dl>Defines a definition list.
<dt>Defines a term (an item) in a definition list.
<em>Defines emphasized text.
<fieldset>Defines a border around elements in a form.
<font>Deprecated. Defines font, color, and size for text.
<form>Defines an HTML form for user input.
<frame/>Defines a window (a frame) in a frameset.
<h1> to <h6>Defines HTML headings.
<head>Defines information about the document.
<hr/>Defines a horizontal line.
<html>Defines an HTML document.
<i>Defines italic text.
<iframe>Defines an inline frame.
<img/>Defines an image.
<input/>Defines an input control.
<ins>Defines inserted text.
<isindex>Deprecated. Defines a searchable index related to a document.
<kbd>Defines a keyboard text.
<label>Defines a label for an input element.
<legend>Defines a caption for a fieldset element.
<li>Defines a list item.
<link/>Defines the relationship between a document and an external resource.
<map>Defines an image-map
<menu>Deprecated. Defines a menu bar.
<Meta/>Defines Metadata about an HTML document.
<noframes>Defines an alternate content for users that do not support client-side.
<noscript>Defines an alternate content for users that do not support client-side scripts.
<object>Defines an embedded object.
<o1>Defines an ordered list.
<optgroup>Defines a group of related options in a select list.
<option>Defines an option in a select list.
<p>Defines a paragraph.
<param/>Defines a parameter for an object.
<pre>Defines preformatted text.
<q>Defines a short quotation.
<s>Deprecated. Define strikethrough text.
<samp>Defines sample computer code.
<script>Defines a client-side script.
<select>Defines a select list (drop-down list).
<small>Defines small text.
<span>Defines a section in a document.
<strike>Deprecated. Defines strikethrough text.
<strong>Defines strong text.
<style>Defines style information for a document.
<sub>Defines subscripted text.
<sup>Defines superscript text.
<table>Defines a table.
<tbody>Groups the body content in a table.
<td>Defines a cell in a table.
<textarea>Defines a multi-line text input control.
<tfoot>Groups the footer content in a table.
<th>Defines a header cell in a table.
<thead>Groups the header content in a table.
<title>Defines the title of a document.
<tr>Defines a row in a table.
<tt>Defines teletype text.
<u>Deprecated. Defines underlined text.
<ul>Defines an unordered list.
<var>Defines a variable part of a text.
<xmp>Deprecated. Defines preformatted text.

Below is a list of some attributes that are standard for most HTML elements:

AttributeValueDescription
class
id
styletitle  
Class_rule or style_rule
id_name
style_definitiontooltip_text
The class of the element.
A unique id for the element.
An inline style definition.A text to display in a tooltip.

Conclusion

This Is Our what is HTML?? and what is to use I Hope You Find Your Answer AboutInternet Security Concepts. If You Have Any Suggestions Or Questions Related To This Article, Then Definitely Tell In The Comment, We Will Reply To You As Soon As Possible.
Source: I&WT, Wikipedia
Our Suggested Article’s
ADVANTAGES AND DISADVANTAGES OF GADGETS IN OUR LIFE
What To Do If Mobile Is Stolen??
How To Choose Best Mobile Camera
How To Choose Best Processor For Mobile??
Best Top Ten Printers For Home & Office Use In 2020
How To Send Stickers In WhatsApp??
What Is Domain Name Servers?What Is Ip Address?? And Ip Address ClassesWhat Is A Modem? & Types Of ModemBest Wireless Earphones Under Rs 2000 -Tested & ReviewedConnecting To The Internet In Windows PcWhat Is Internet Definition And Evolution Of The Internet

Leave a Reply