Know more about HTML…

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

Explain about the HTML code above.

The HTML document itself begins with <html> and ends with </html>.

The visible part of the HTML document is between <body> and </body>.

HTML headings are defined with the <h1> to <h6> tags.

<h1> defines the most important heading.

HTML uses elements like <b> and <i> for formatting output, like bold or italic text.

Refer:

https://www.w3schools.com/html/html_basic.asp

https://www.w3schools.com/html/html_formatting.asp

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 files, the basic language used for writing webpages. These extensions are usually used for webpages with static content.

The only difference is that .HTM is used as an alternate to .HTML for some operating systems and servers that do not accept four-letter extensions. In actual fact, .HTM was usually used back in the old days, like during the time when DOS was popular. In the present time, computers can now easily support big files and wide length of file names, therefore, having a four-letter extension is not a problem anymore.

Refer:

https://www.quora.com/What-is-the-difference-between-a-html-and-a-htm-page

http://www.differencebetween.net/technology/internet/difference-between-htm-and-html/#ixzz5hRcLyAYT

How to view HTML source?

To see the HTML source code of a web document, it depends on the browser we’re using. Follow the appropriate instructions below:

  • Firefox and Mozilla: Right-click the page and select View Page Source. To see the source of an individual frame, right-click or Ctrl-click the frame and select This Frame, and then View Frame Source.
  • Internet Explorer: From the View menu (IE 9) or the Page menu (IE 8), select Source.If the menu bar is hidden, press Alt to make it visible.To see the source for frames, right-click within the frame, and from the pop-up menu select View Source or View Frame Source.
  • Chrome: From the options wrench icon on the upper right, select Tools and then View Source, or right-click and select View page source. To see the source for frames, right-click within the frame, and from the pop-up menu, select Inspect Element.
  • Safari: In Safari 6, from the Preferences menu, click Advanced. In the window that opens, check Show Develop in Menu Bar. From the Develop menu that now appears, choose Show Page Source. Alternatively, you can right-click or Ctrl-click and select this same option.In earlier versions of Safari, from the View menu, select View Source. To see the source for frames, right-click or Ctrl-click within the frame, and from the pop-up menu, select View Frame Source.
  • Opera: Right-click and select Source from the menu. To see the source for frames, right-click within the frame, and from the pop-up menu, select Inspect Element.

Refer:

https://kb.iu.edu/d/agao

Leave a comment