Html Introduction

HTML stands for HyperText Markup Language. HTML is the standard markup language for creating Web pages.

 

HTML elements are blocks used to build a page. The web browser understand the HTML elements and render the content and present a page to the user.


There are many different web browsers, like: Google Chrome, Internet Explorer and Firefox.

The first web pages was released in 1990 and the pages were only used for presentation. Today the web is a very important piece in our daily lives.


Example of a simple HTML Document

HTML - Example of a simple HTML Document

<!--This syntax is used to comment out lines in HTML-->
 
<!DOCTYPE html>
<html>
   <head>
      <title>Hello World</title>
   </head>
   <body>
 
   <h1>This is a heading</h1>
   <p>This is a link to learn more about <a href="https://www.google.com/chrome/">Google Chrome</a>.</p>
 
   </body>
</html> 

Example explained

Element Description
<!DOCTYPE html>

Declaration defines this document to be HTML5. It must appear at the top of the page and only once

<html>

Element is the root element of an HTML page

<head>

Element contains meta information about the document

<title>

Element specifies a title for the document

<body>

Element contains the visible page content

<h1>

Element defines a large heading

<p>

Element defines a paragraph

<a>

Element defines a link


HTML Page Structure

Here is an overview over the HTML page structure.

Only content inside the <body> section (the white area) is displayed by the web browser.

HTML Page Structure

HTML Tags


HTML tags are element names surrounded by angle brackets.


HTML tags are usually in pairs like <table> and </table>.


Remember to use a a forward slash when you write the end tag.


HTML Attributes


HTML attributes are used to modify the value of the HTML element. Elements will often have multiple attributes.


<tagname attributename="setting">content for the html element...</tagname>


BACK TO TOP






Check this out

HTML: URL Encode

URL Encoding is the process of converting a string into a valid format that can be transmitted over the Internet. URLs must use the ASCII character-set. Characters outside the ASCII set must be converted to be able to be transmitted over the Internet.

HTML: Id

The HTML <id> attribute defines a unique id for an HTML element. The id must be unique within the HTML document.

You can use the <id> to select the HTML element, then you can read or manipulate the element with CSS and JavaScript.

HTML: Comments

Comments are parts of the code that are ignored by a browser. To explain and define section parts of a document to others who see the code, it's a good practice to add comments to your HTML code. Especially in complex documents. To increase the readability of the code and help others understand t....

HTML: Colors

HTML colors are specified using defined color name keywords or RGB, HEX, HSL, RGBA, HSLA values. Color Hue is another word for color.

For example the color green has the HEX color code #00FF00, that is also RGB(0,255,0), which is '0' red, '255' green, and '0' blue. The color codes can be ....


BACK TO TOP
HTML is a markup language used to make web pages. HTML5 is the latest version of Hypertext Markup Language. The cornerstone technologies for a webpage are HTML, which provides the structure. Cascading Style Sheets (CSS), which take care of presentation. And JavaScript, which makes things happen.

Thanks to HTML5, web pages can now store data locally on the users browser, then you dont need to use HTTP cookies. Now content can be delivered faster and more securely. HTML5 has also made it easier to ensure consistency across all browsers. Since browsers have traditionally relied upon different plugins to play multimedia files, native support of video and audio allows developers to avoid compatibility issues. New attributes also allow for video controls including play, pause, and volume options.

HTML4 was the standard for about 15 years and many still use it, all browsers will continue to support it for a very long time. Likewise, older browsers can 'overlook' new HTML5 code while rendering content. Virtually all modern browsers support HTML5 specifications fairly well.

You can use HTML5test to run a test with your current browser to see what it scores in terms of HTML5 support.

BACK TO TOP

Need more Honney

NDC Conferences

The NDC Conferences (Norwegian Developers Conference) are one of the world`s largest independent software conferences for .NET & Agile development. The conference covers everything you need to know within software development. The conferences are held each year in many places such as Oslo, Copenhagen, London, Sydney and Minnesota.

Update Conference Prague

Update Conference Prague is the biggest developer conference in the Czech Republic. The conference is offering sessions delivered by the top experts from all around the world. Their goal is to inspire the attendees and enrich their knowledge.

Troy Hunt

Learn about Web Security from Troy Hunt. He is a really engaged speaker that frequently give talks on conferences around the world. Troy is a Microsoft MVP and you can even learn from him on some great courses on Pluralsight.

W3Schools

W3Schools.com is a great education Web Site for learning web technologies. On W3Schools you may find well organized basic to advanced tutorials and references.

Scott Hanselman

Learn about Web Technologies and new trends from Scott Hanselman. Scott Hanselman is an author of developer books and he is an engaged speaker that usually talks about the Microsoft stack. You may meet Scott on conferences around the world.

Developer Week

DeveloperWeek is one of the world’s largest developer conferences. Developer Week focus on new dev technologies, the conference have talks and workshops for newbies and experienced audience. You can attend on a Developer Week conference different places in Nothern America.


BACK TO TOP

Honneybag blog



Learn JavaScript Debugging

Searching for bugs and fixing them is called code debugging. The bugs might be difficult to diagnose and therefore it is important to have a good approach to find and fix the bugs effectively. Bugs in the code might be syntax errors or logical errors. Sometimes nothing happens when the code contains bugs and there is few indications where to search. Modern web browser includes a powerful suite of developer tools. The tools do a range of things...

Explore JavaScript Arrays

Arrays are frequently used by developers. Programming languages can have slightly different implementation of arrays. An array is an object that can store a collection of items. You may say it`s a special variable that can have more than one value. The array holds many values under a single name, and you may access the values by referring to an index number. The easiest way to create....

Ultimate Guide to HTML Colors

It is essential to give the user a good user experience. There are many things you should focus on, one of them is how you use colors on your website. We don't have to struggle with black and white TVs anymore. Users expect more and more and we can apply colors to everything we want. Texts, borders, backgrounds, shadows – in HTML they all can have whatever color you decide....

Wanna be a sheep? Check out the most popular subjects
HONNEYBAG BLOG
HONNEYBAGBLOG INSPIRE-AND-BE-INSPIRED
JAVASCRIPT ESSENTIALS
HTML FORMATTING
HONNEYBAGBLOG EXPLORE-JAVASCRIPT-ARRAYS
Wanna be a little different? Check out the less popular subjects
HONNEYBAG BLOGER
HTML INTRODUCTION
HTML ESSENTIALS
HTML ESSENTIALSWE
JAVASCRIPT BREAKER
BACK TO TOP