Wednesday, 6 March 2019

First Post

<html>
<head>
<title> My first Webpage. </title>
</head>
<body>
This is my first homepage. <b>This text is bold </bold>
</body>
</html>

1. Explain about the HTML code above.
The web pages start with the html element. It's also called the root element because it's at the root of the tree of elements that make up a web page. To create the html element, you write an opening <html> tag followed by a closing </html> tag. The head element contains information about the web page, as opposed to the web page content itself. The title element contains the title of the page. The body element appears after the head element in the page. It should contain all the content of your web page: text, images, and so on. HTML doesn't have a <bold> tag, instead you would have to use <b>. Note however, that using <b> is discouraged in favor of CSS for a while now.

2. Why the use of HTM or HTML Extension?
The webpage’s standard file extensions are .htm and .html. Both these extensions are related to HTML, the basic language used for writing webpages. File extensions help the operating system to identify the kind of data file it is dealing with and in identifying an appropriate program to read and edit it.

3. How to View  HTML Source?
To view a html source on Google Chrome, simply Right-click on a blank part of the web page and select View page source from the pop-up menu that appears.

No comments:

Post a Comment