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

Java JRE and JVM | Difference between JVM and JRE

 Java JRE and JVM | Difference between JVM and JRE In this topic, we will give you complete information of JRE and JVM. JVM(Java Virtual Machine) JVM (Java Virtual Machine) is an abstract machine that enables your computer to run Java programs. and Which provides a runtime environment. When you compile a java program, it is converted into byte code. This byte code cannot run on any machine or operating system. It only runs on JVM (Java Virtual Machine). The Java Compiler that Byte Code generates is for JVM because of the JVM being in the entire system, this program runs in every computer, making the Virtual Machine Code running in the Operating System. JRE(Java Runtime Environment) The full name of JRE is Java runtime environment. JRE is also called java runtime. JRE is a part of JDK (java development kit). JRE is a group of software tools to develop Java applications. The JRE class contains groups of libraries and other files, which JVM uses in runtime and it also contains JV...