HTML An HTML file is simply a text file saved with an .html or .htm extension. Show Getting StartedIn this tutorial you will learn how easy it is to create an HTML document or a web page. To begin coding HTML you need only two stuff: a simple-text editor and a web browser. Well, let's get started with creating your first HTML page. Creating Your First HTML DocumentLet's walk through the following steps. At the end of this tutorial, you will have made an HTML file that displays "Hello world" message in your web browser. Step 1: Creating the HTML fileOpen up your computer's plain text editor and create a new file. Tip: We suggest you to use Notepad (on Windows), TextEdit (on Mac) or some other simple text editor to do this; don't use Word or WordPad! Once you understand the basic principles, you may switch to more advanced tools such as Adobe Dreamweaver. Step 2: Type some HTML codeStart with an empty window and type the following code:
Step 3: Saving the fileNow save the file on your desktop as "myfirstpage.html ". Note: It is important that the extension To open the file in a browser. Navigate to your file then double click on it. It will open in your default Web browser. If it does not, open your browser and drag the file to it. Explanation of codeYou might think what that code was all about. Well, let's find out.
You will learn about the different HTML elements in detail in the upcoming chapters. For now, just focus on the basic structure of the HTML document. Note: A DOCTYPE declaration appears at the top of a web page before all other elements; however the doctype declaration itself is not an HTML tag. Every HTML document requires a document type declaration to insure that your pages are displayed correctly. Tip: The HTML Tags and ElementsHTML is written in the form of HTML elements consisting of markup tags. These markup tags are the fundamental characteristic of HTML. Every markup tag is composed of a keyword, surrounded by angle brackets, such as HTML tags normally come in pairs like An opening tag and a closing tag are identical, except a slash ( In between the start and end tags you can place appropriate contents. For example, a paragraph, which is represented by the
You will learn about the various HTML elements in upcoming chapter.
HTML tutorial or HTML 5 tutorial provides basic and advanced concepts of HTML. Our HTML tutorial is developed for beginners and professionals. In our tutorial, every topic is given step-by-step so that you can learn it in a very easy way. If you are new in learning HTML, then you can learn HTML from basic to a professional level and after learning HTML with CSS and JavaScript you will be able to create your own interactive and dynamic website. But Now We will focus on HTML only in this tutorial. The major points of HTML are given below:
HTML Example with HTML EditorIn this tutorial, you will get a lot of HTML examples, at least one example for each topic with explanation. You can also edit and run these examples, with our online HTML editor. Learning HTML is fun, and it's very easy to learn. Test it Now
HTML IndexHTML Tutorial
HTML Tags
HTML 5 TagsIn this tutorial, we will learn HTML 5 tags such as audio tag, video tag, canvas tag, HTML svg, HTML geolocation, HTML drag and drop etc. All HTML TagsAt last, we will learn all HTML tags one by one for example, marquee tag, textarea tag, br tag, hr tag, pre tag, h tag, code tag, input tag, title tag, meta tag, script tag, style tag etc. PrerequisiteBefore learning HTML, you must have the basic knowledge of Computer Fundamental. AudienceOur HTML tutorial is designed to help beginners and professionals both. ProblemWe assure, you will not find any problem in HTML tutorial. But, if you find any problem or mistake in our HTML tutorial, you can report to us. |