HTML 5 Tutorial for Beginners
Introduction of HTML
HyperText Markup Language (HTML) is a simple markup system used to create hypertext documents that are portable from one platform to another. HTML documents are SGML documents with generic semantics that are appropriate for representing information from a wide range of applications. HTML markup can represent hypertext news, mail, documentation, and hypermedia; menus of options; database query results; simple structured documents with in-lined graphics; and hypertext views of existing bodies of information. HTML is one of the structured language, HTML is also called HyperText Markup Language. It is used for designing web pages. We can understand this language easily. Without high experience, we can do work by using HTML language. Html consists of tags. By using tags we can design the web page. Mainly the structure of HTML is, first we will be started by <html> tag and <head> in that <title> and<body> tag. We can close the tags by the ‘/’ symbol like</html>,</head>,</title> and </body>.HTML is a Markup Language which means you use HTML to simply "mark up" a text document with tags that tell a Web browser how to structure it to display.
Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers. HTML is being widely used to format web pages with the help of different tags available in HTML language.
HTML is a computer language devised to allow website creation. These websites can then be viewed by anyone else connected to the Internet. It is relatively easy to learn, with the basics being accessible to most people in one sitting; and quite powerful in what it allows you to create.
- HyperText is the method by which you move around on the web — by clicking on special text called hyperlinks which bring you to the next page. The fact that it is hyper just means it is not linear — i.e. you can go to any place on the Internet whenever you want by clicking on links — there is no set order to do things in.
- HTML consists of a series of short codes typed into a text-file by the site author — these are the tags. The text is then saved as a html file, and viewed through a browser, like Internet Explorer or Netscape Navigator.
HTML optimization Guidelines:
- Custom alt text on images.
- Most web browsers are able to display GIF and JPEG images.
- Remember to include plain text versions of your emails.
- Use hyperlinks and confirm that all links do go a valid domain. If the link points to a domain with a poor reputation, then the email will share that reputation.
- Ads and affiliate links/images can cause issues because:
- Random strings of letters and numbers can trigger spam filters.
- The email shares its reputation with the domains in it.
-
When working with HTML, consider the different types of Cascading Style Sheets.
- CSS describes the presentation/visuals of an email, webpage, etc. This includes colors, layouts, and fonts.
- Enables the separation between content and presentation.
How does it work?
HTML consists of a series of short codes typed into a text-file by the site author — these are the tags. The text is then saved as a html file, and viewed through a browser, like Internet Explorer or Netscape Navigator. This browser reads the file and translates the text into a visible form, hopefully rendering the page as the author had intended. Writing your own HTML entails using tags correctly to create your vision. You can use anything from a rudimentary text-editor to a powerful graphical editor to create HTML pages.
Features of HTML:
HTML is that the commonest used language to write down sites . it's recently gained popularity thanks to its advantages such as: - Features: It is easy to learn and easy to use. It is platform independent. Images, video and audio can be added to a web page. Hypertext can be added to text. It is a markup language.Uses
<!DOCTYPE html>
<html>
<head>
<title>HP TECH</title>
</head>
<body>
<h1 id="name" class="title" style="color: red;">HI!</h1>
<h2>Heading 2</h2>
<form>
<input type="text">
<br><br>
<button type="button">Login</button>
</form>
</body>
</html>
HTML, or Hypertext Markup Language, is used to create web pages. Site authors use HTML to format text as titles and headings, to arrange graphics on a webpage, to link to different pages within a website, and to link to different websites.