A Few Lines of Computer Codes (AFLOCC) that could break into any system & that is Binary Code which is universal language. If any other civilized planet in this whole universe, then they must know "101001..." or "Binary" and it is only language which is known as "UNIVERSAL LANGUAGE".

Wednesday 10 February 2016

create first basic program of html with perfect example and explanation with images

Create First Program of HTML - Easy Tutorial - Step by Step

HTML stands for HyperText Markup Language and used to create webpages but it is static, it doesn't mean if you once code then it cannot be change. You can change infinite times but you need to edit to code that page again and again and it is very boring task to do. Let's start with html...

1. First open notepad


2. Then write html code or copy from below:-
HTML Code:

<html>
<head>
<title>
Tutorial by AFLOCC
</title>
<body>
<p>This is my first webpage</p>
</body>
</html>

3. Copy above code to notepad



4. Now Save File to any directory or folder or simply on desktop


see above image your default "save as type" to ".txt" file please change it to "all files" like me


5. Locate your save file and open with any of your browset like "internet explorer", "google chrome" or "mozilla firefox"

6. Now your result display on your screen


Time for Part B or Explain Whole Coding of your HTML

Basic Structure of HTML Coding :

<html>
<head>
<title>
.
.
</title>
<body>
.
.
</body>
</html>

Part 1: 
<html>
.
.
</html>
Between html tags go your all code

Part 2:
<head>
.
.
</head>
Between head tag go your all scripts, css codes or meta description but in basic html we doesn't need css, scripts and other things

Part 3:
<title>
.
.
<title>
Between title tag go your title of your webpage like below



Part 4:
<body>
.
.
</body>
It is main part of your html coding because without body tag you cannot get any result to display at any cost

Remeber: In "HTML" every tag start and end must, there are only few tags which does not need to end like "<br/>" which is used to break lines or you need more space between two lines or simply you called "Enter" button of your "html" code. But almost all of your html tag have starting and ending like start body tag like <body> and end with </body>



A Tutorial by AFLOCC


Share:

0 comments:

Post a Comment

Blogroll