HTML Head Section

HTML head section is defined by <head> tag, the head section of an HTML document contains several tags which we cover in this tutorials. It is defined as a title or a subtitle which display at web application at the front end. Here we cover all the tags with the running codes.



                                     <head> <!-- information --> </head>


The <title> tag declares the title for a webpage. The title of a webpage can be seen in the top left corner of the web browser. If you look at the top left corner of your web browser window right now, you will see the title HTML head section, as that is the title of this page.




                                     <title>Page Title</title

<style> tag

The <script> tag is used to place scripts on a webpage. When using the <script> tag, you have to use its type attribute to specify the language the script is written in.



                                    <script type="text/javascript"> document.write("This is a Javascript script."); </script>

The <style> tag is used to declare an internal stylesheet.

The <style> tag specifies the content type of a stylesheet with its type attribute which should be set to "text/css".



                                    <style type="text/css"> h1 { color: colorcode; } </style>


In this tutorial we covers some important heading tags which widely used in creation of most of web applications. This tutorial give simple and understandable tags with syntax.

Powered  by Codersarts