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...

Features of Java | Why To Learn Java Programming

Features of Java | object-oriented features of java The main reason behind the creation of Java was to bring portability and security features to the computer language. Apart from these two salient features, there were several other features which played an important role in shaping the final form of this excellent language. The most important features of Java language are given below: 1:- Object Oriented:- In Java , Everything is an Object. Clear Structure for the programs Faster and easier to execute. Java can be extended easily because it is based on the object model. 2:- Platform Independent:- Java is a platform independent language, which means that compiled code Java can run in all operating systems. 3:- Easy to learn:-   If you understand the basics of the OOP concept, Java programming is quite easy to learn. 4:- Secure:- Java is more secure in compression of all programming languages, and with Java's secure feature, it is capable of developing virus-free, tamper-free ...

Introduction to HTML

Introduction to HTML HTML was first created by Tim Berners-Lee, Robert Cailliau, and others starting in 1989. It stands for Hyper Text Markup Language. HTML stands for HyperText Markup Language. It is used to design web pages using a markup language. HTML is the combination of Hypertext and Markup language. Hypertext defines the link between the web pages. A markup language is used to define the text document within tag which defines the structure of web pages. HTML stands for HyperText Markup Language. HTML is used to create web pages and web applications. HTML describes the structure of a Web page. HTML is widely used language on the web. HTML consists of a series of elements. HTML elements tell the browser how to display the content. We can create a static website by HTML only. Technically, HTML is a Markup language rather than a programming language. What You Can Do with HTML...? There are lot more things you can do with HTML. You can publish documents online with text, images, lis...