Wednesday, 11 October 2017

What is HTML?


INTRODUCTION TO HTML:
 Firstly we need to ask ourselves WHAT IS HTML?
Html is the language used in creating a website you see when you surf the net. (note : it is not a programming language) it provides a way to structure the content for websites.
Full meaning of HTML
H   -  hyper
T   -  text
M -   mark
L   -   language

WHY LEARN HTML?
HTML is the foundation and structure of all web pages. For example our human body needs a  With HTML, you will be able to organize text or add images and videos to your web pages. It is the first thing you need to know to someday create beautiful web pages! …like i’ve done lol.
When using HTML you need a text-editor, well there are several out there to download for free but I make use of “Sublime Text 3” because its not heavy.

TAGs:<>
These are used to define how your web browser must format and display your content. A tag normally have an open tag ( <> ) and a close tag ( </> ).

 BASIC STRUCTURE OF A WEB PAGE

<html>-this is use to start the description of the web page.
<head>-This is use to enclose the header information that usually does not appear in the browser
<title>- This is use to specify what is display on title bar of the browser.
<body>- The text between <body> and </body> is displayed in the browser window.

CREATING YOUR FIRST WEB PAGE
Before starting writing your codes,it is advisable to create a folder on your desktop in which all the codes will be saved. The folder maybe named MyWebPages.
1.     Launch sublime text editor
2.     Type the basic structure of web page which is;
<html>
    <head>
        <title>My Page design</>
     </head>
     <body>
     I love doing what I do
     </body>
  </html>
                

this is an example

When you click on “Open in Browser” it will display like the image below;
now we getting some where…








No comments:

Post a Comment