Skip to content
Electronics Simplified
  • Home
  • Latest Simplified
  • About Us
  • Engineering Projects for All

In Depth with the head, title and style HTML tags

Home > Feed > In Depth with the head, title and style HTML tags

In Depth with the head, title and style HTML tags

Posted on January 27, 2023February 23, 2023 by Rolan Gaspar Pereira
1 Comment

What is head, title and style in HTML?

<head> element is the container for all the head elements in HTML. Its is like the human head which contains all the important things stored in it. Elements inside the head in HTML can contain scripts, links, instructing the browser where to find the style sheet. The head element may also include other meta data and more information. With advancement in Web technologies, the meta information is necessary.

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Head Title and Style</title>
	<script type="text/javascript">
		//nothing here for the moment
	</script>

</head>

    <title> tag displays the title name on the title bar or on the tab of the web browser (Modern browsers have tab format only). This tag also provides a title when the webpage gets added to favorites, bookmarks or even in the search engines.


    <style> tag used in the html file is for internal CSS. The tag is used to define style information for an HTML document. Internal CSS is added in the head of the html file and is faster as compared to external CSS. <style> tags are responsible for the looks of the webpages.

    <style>
      body{
            background-color: aquamarine;
          }
    </style>

    Related

    Tags: and, Browser tab title, Cascade, CSS, depth, Document information, External style sheet, feed, Head, HTML, Inheritance, Inline styles, Internal style sheet, Metadata, Page title, Properties, Selectors, Specificity, Style, Style sheet, tags, the, Title, Values, with

    One Reply on “In Depth with the head, title and style HTML tags”

    1. Pingback: HTML For Kids – Electronics Simplified

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Recent Posts

    • ESP32 BLE Server and Client with Arduino: A Complete Guide
    • Smoke Detection and Fire Sprinkler Control with LCD Display
    • Distance Measurement and Stepper Motor Control with LCD Output
    • Water Level Monitoring and Fish Tank Pump Control with Arduino
    • How to make a Smart Energy Meter with LCD Display ?
    • How to set a Light Sensitive Motorized Blinds and LCD Feedback

    Categories

    Archives

    • November 2024
    • July 2024
    • June 2024
    • April 2024
    • March 2024
    • February 2024
    • January 2024
    • December 2023
    • October 2023
    • September 2023
    • July 2023
    • June 2023
    • April 2023
    • March 2023
    • February 2023
    • January 2023
    • November 2022
    • September 2022
    • August 2022
    • July 2022
    • May 2022
    • April 2022
    • March 2022
    • September 2021
    • August 2021
    • July 2021
    • June 2021
    • May 2021
    • March 2021
    • September 2020
    • August 2020
    • July 2020
    • May 2020
    • April 2020

    Categories

    • Arduino Projects
    • Basic Electronics
    • Coding Juniors
    • Electronics for Kids – C
    • ESP32
    • ESP8266
    • Feed
    • Learn Arduino Hardware and Software
    • RaspberryPi
    • Slider – New Post
    • Uncategorized
    • ESP32 BLE Server and Client with Arduino: A Complete Guide
    • Smoke Detection and Fire Sprinkler Control with LCD Display
    • Distance Measurement and Stepper Motor Control with LCD Output
    • Water Level Monitoring and Fish Tank Pump Control with Arduino
    • How to make a Smart Energy Meter with LCD Display ?
    RGP initiative | WordPress Theme: Enlighten
    Loading…