Write the HTML Code with the Title "My first Blog Page" and give the heading of the page as "Global Warming"[2]
Question
Write the HTML Code with the Title "My first Blog Page" and give the heading of the page as "Global Warming"[2]
Solution
Sure, here is the HTML code for your requirements:
<!DOCTYPE html>
<html>
<head>
<title>My first Blog Page</title>
</head>
<body>
<h1>Global Warming</h1>
</body>
</html>
Here's a step-by-step breakdown of the code:
-
<!DOCTYPE html>: This line is a document type declaration and it tells the browser that this is an HTML5 document. -
<html>: This is the root element of an HTML page. -
<head>: The head element contains meta-information about the HTML document. This information isn't displayed on the page but is machine parse-able. -
<title>: The title element specifies the title of the HTML document. The title is displayed in the browser's title bar or tab. -
</head>: This is the closing tag for the head element. -
<body>: The body element contains the content of the document, such as text, images, hyperlinks, tables, lists, etc. -
<h1>: The h1 element defines a large heading. There are 6 levels of headings, defined by<h1>to<h6>,<h1>being the largest and<h6>the smallest. -
</body>and</html>: These are the closing tags for the body and html elements, respectively.
Similar Questions
Write an HTML script for Creating Webpage includinga) Heading tags starting from Largest heading to smallest heading.b) Inserting an Image . [4]
Write an HTML script for Creating Webpage includinga) Heading tags starting from Largest heading to smallest heading.b) Inserting an Image .
Create all the head section of a web page to meet these specifications:Title for the web page is Weather DataMetatags:• set the character encoding to ISO-8859-1• set the name of the author to TawaraWeb followed by a space then your name• set the web page description to Weather data for the Tawara region• set the viewport to the width of the device being used with an initial scaling of 2• set two appropriate metatag keywords for use by search engines for this page.Set the default target window to _blank if a new web page is opened from within this webpage.
To add a title to a web page:Group of answer choicestitle: My page title<body> <title>My Page Title</title> </body>title = My Page title<head> <title>My Page Title</title> </head>
Add six headings to the document with the text "Hello".Start with the most important heading (the largest) and end with the least important heading (the smallest).<html><body></body></html>
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.