Skip to main content

HTML Overview | Basic HTML Documents


HTML (hypertext markup language) is the code used to create a web page and its contents. For example, content can be structured within a set of paragraphs, using a list of bulleted points, or images and data tables.

HTML is not a programming language; It is a markup language that defines the structure of your content. HTML consists of a series of elements, which you use to separate, wrap, or wrap content so that it displays in a certain way, or functions in a certain way. Attachment tags can create a word or image hyperlink elsewhere, italicize words, enlarge or shrink the font.

Basic HTML Documents

An HTML Document or an HTML Page is created with HTML Elements and HTML Tags. You also know HTML page by the name of  Web page.
The structure of an HTML page is similar to the design of a newspaper or magazine article. A normal magazine article has Headings (titles), Paragraphs, Sub-headings (subtitles) etc. Exactly the same thing happens in a Basic HTML Document.

Even in an HTML Document, the title, Paragraphs are there. Apart from these, there are many other things in an HTML page. Which are mentioned below.

Basic HTML Document

 

In its simplest form, following is an example of an HTML document −

Writing HTML document


  • All HTML documents should start with a document type declaration: <! DOCTYPE html>.
  • The HTML document itself starts with <html> and ends with </html>.
  • The visible part of the HTML document is between <body> and </body>.

Creating an HTML document is very easy, it can be written in any text editor, in any version of Windows, there is an editor available for it, usually we use Notepad to write web documents on Windows. But we will use Sublime Text Editor, we can accomplish this by following the following steps.

1:- First of all, we will open the Sublime Text Editor.

2:- 
After that we will open a new file.


3:- 
After that in Sublime Text Editor, we will write the coding of HTML to create a web page.

4:- Now we will save this file.
5:- To save the file, we will select the Save As option in the file.
 

6:- When saving a file, the most important thing is that this file will be saved with either .html extension.

7:- After this, the icon of the file changes to the icon of Internet Explorer and open the web page by double clicking it.



Comments

Popular posts from this blog

Features of Android

 Features of Android let's see the features of android. The important features of android are given below: Beautiful UI :- Android operating system provides a UI which is associated with the activity and presented to user. Connectivity  :- It has various connections such as Bluetooth, Wi-Fi, GSM/EDGE, CDMA etc. Storage :- A light relational database – SQLite is used for the storage purpose. Media support  :- H.263, H.264, MPEG-4 SP, AMR, AMR-WB, AAC, HE-AAC, AAC 5.1, MP3, MIDI, Ogg Vorbis, WAV, JPEG, PNG, GIF, and BMP. Messaging  :- It supports messaging services -SMS , MMS. GCM  :- Google Cloud Messaging (GCM) is a service that lets developers send short message data to their users on Android devices, without needing a proprietary sync solution. Web Browser  :- It is based on the open-source WebKit layout engine which is coupled with Chrome’s V8 JavaScript engine that supports HTML5 and CSS3. Resizable widgets  :- Widgets are resizable, so user...