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"
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]
The title should describe the content and the meaning of the page.*2 pointsTRUEFALSE
Think of a headline/title for a news article and write a short news story based on the chosen headline.
The software which will convert the text into HTML code automatically isa.Front pageb.Notepadc.Netscape Navigatord.SGML
Fill in the Blank QuestionFill in the blank question.The most important strategy for creating a title is to link it to your (anecdote/body paragraphs/thesis)
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.