Learn HTML for beginners

Learn HTML for beginners

Introduction

Introduction to HTML? Hpertext Markup Language(HTML) played a vital role in launching the web as we know today. Time Berners Lee while woring in CERN Lab has developed the language and the journey of html reached today's HTML5 version. As a result of html language introdocution the handling of structure and relating to the pages helped developers to connect and send information , which marked the beginning of Internet era. Cascading Sytle Sheets(CSS) in suport with html language provided substantial benefits to the web page by adding more flexibility and easy understanding and also made it design perfect with colours and styles being added to the web pages. By the introduction of javascript, which helped in achieving interactive websites and web pages became more flexible and appealing.

What is the Structure of a Web Page

Example: Hello World

The simplest html script prints text to the browser. Here’s how you can write a "Hello World" program:

        <html>      
<h1>Hello World<h1></html>

Hello World

💡 Tip: Always start HTML code with <html> and end with </html>.

Head and Body Tags in HTML

The page structure of an html web page divides mainly in to two section viz. head tag and body tag, these tags constitute the main structure of a web page in html. All the other items like style(inside head tag) and p for paragraph all these includes in body tag.

<html>
<head>
</head>
<body>
</body>
</html>

Text Elementsin html

Text Elements in html are mainly h1, h2, h3, h4 and for paragraph 'p' tage Fonts in html is not so important there are many fonts available like Roboto, Poppins etc, google fonts link also can be created. Font colours should be attractive and matching to the web page and readable. below are some explanation of font colours, headers and paras in body structure.

<html>
<h1 style= "color:green; font-family: roboto"> This is heading no.1 in html/h1>
<h2 style= "color:blue; font-family: roboto"> This is heading no.2 in html/h2>
<h3 style= "color:yellow; font-family: roboto"> This is heading no.3 in html/h3>
<h4 style= "color:black; font-family: roboto"> This is heading no.4 in html/h4>
<p style= "color:yellow; font-family: poppins"> There are numerous colour options and font families in html like arial, poppins, roboto are some of them </p>
</html>

This is heading no.1 in html


This is heading no.2 in html


This is heading no.3 in html


This is heading no.4 in html


There are numerous colour options and font families in html like arial, poppins, roboto are some of them

Links and Images

The html developments itself has happened due to the reaserch for linking of pages, therefore, the most important face of web development is links which will provide easy stepping from one page to the other and links of various pages outside of main file say index.html with style sheets and bootstrap pages etc along with javascript inside a web page, in the following example, an html link has been created in a web page

<html>
<head>
<link rel href="url"/>
</head>
<body>
<a href="www.example.com">
<img src="image.jpg" alt="Description" width="200">
</a>
</body>
</html>

Popular posts from this blog

TRAINING AND DEVELOPMENT

Contracts in Organizations

ORGANIZATIONAL DEVELOPMENT