Skip to main content

Introduction to HTML language

If you've decided to learn how to build websites from scratch, you'll find this introduction to HTML particularly interesting. HTML acronym for (Hyper Text Markup Language); is the standard that defines the structure of the hypertext language for the creation of  Web pages.

Structure of an HTML file

The creation of an HTML file is done through markers and tags; the first, structure the Web page for the Browser, the Tags are the containers of what is visible on the screen by the user. In practice, the Tags outline the content of a page.

Introduction to HTML language

If  You don't use a CMS (a program that allows you to do this without writing HTML code) for create a Web page, requires that you have assimilated the syntax of the HTML language. An HTML file has the opening and closing markers; this latter differs from a forward slash (/) in front of it; translated into English (Forwardslash) and which we will see shortly. 
In addition to what has just been said, there are some exceptions as illustrated below that do not provide for closure:
  • The <! DOCTYPE html> declaration specifies an HTML5 document (does not require closing).
  • The <html> marker; is the opening element of an .html file and this is how it should be closed </html>.
  • The <head> element contains all the document information not visible on the screen.
  • The title of the document <title>.
  • The <body> element that contains the part visible on the screen of a page.
  • The header (title) of the contents of a page <h1>.
  • The definition of a paragraph <p>.
  • The separator <hr> (does not need to be closed) and not even the Tag <br> to go to the next line.
Introduction to HTML language
Basic HTML file

In this introduction to HTML I have already presented all the main elements; there are only tables and lists that deserve a deeper discussion but now we are ready for a basic practical example.

How to view a web page

The software to view a Web page is "the Browser" the hardware is the monitor! In the past, creating a site required more effort for developers; before Responsive Web Design they were forced to create different styles for different browsers and displays by also integrating a lot of JavaScript code.

Introduction to HTML5: Responsive web design

With the HTML5 and CSS3 version of the language it is possible to do things that were previously only possible with the use of JavaScript. With these versions it is possible to use Responsive Web Design techniques which makes it possible to develop dynamic grids that adapt to the device screen. This type of approach solves all those problems related to the diversity of dimensions between the different mobile devices.

Comments

Popular posts from this blog

Learn to use the computer

Many people use the PC every day to connect to the network and to work but without knowing what the computer is and wondering how this is possible. We put a computer to work every time we buy with a credit card, withdraw from an ATM, pay a postal order, buy a train ticket, play video games and many other things. Understanding how the PC works inside is too much but starting from its components and the origins of  IT is already a good start. Learn to use the computer Basic computer components The computer is made up of several electronic components on printed circuits that interact with each other via micro pulses; if you want to learn how to use the computer, the main components of a PC are: A central processing unit (CPU); the "processor" used to process active processes on the data before outgoing transmission. RAM memories (random access memory) in which the bytes for processing are loaded; it is the dynamic memory of the computer and it is volatile; A graphics processing...

The origins of computer programming

Modern computers can process large amounts of data. Before the current computers we can only refer to the analytical machine of Charles Babbage; This machine performed calculations thanks to the rotation of gear wheels. Countess Ada Lovelace participates in the creation of Charles Babbage's analytical machine by decoding the language to make it work; US Department of Defense dedicates the ADA programming language in the name of the Countess.  The role of women in computer science  Apparently, the position of women in the history of computer programming seems to cut out only a marginal role; in reality, it is not so! As already mentioned in the previous paragraph; without the contribution that Countess Ada Lovelace left to the world of information technology; this science could be decades behind. The origins of computer programming languages  The origins of programming languages were determined by a mechanical and mostly experimental approach; with reference to the an...

How to create a Google account

The question is not How to create a Google account but why You never ever done this; I know Why! Becouse you are not familiar with the technology; another answer such as I didn't have time or didn't think it was useful could never be appropriate.  Introdution Now that you have understood that without a Google account you cannot have access to the APP from your smartphone without an email address, you have decided to create it; right? If your answer is yes, continuing reading you will find out information you need to create your first Google account. Warning In my cauntry If  You are under 18 You cannot directly create a Google account but You can ask one of your parents or tutor to do it for You. The age limit may change; depending on the country you live in. Google World Procedure Before to start take in meend that this is not procedure for Google Business accout, if you need an account for your company I suggest to have a look at this link otherwaise if you would creat...