detail of HTML code



 DETAIL OF HTML CODE 

First html code.

<!DOCTYPE HTML>

The <!doctype html> defined the pages is HTML code.

πŸ‘‰<HTML>

This tag is the root of an HTML pages.

πŸ‘‰<HEAD>

■  this tag contains meta information about the page.

■ This tag can include a title for the document, script,

styles, meta information and more.

πŸ‘‰<TITLE>

■  The tag contains a title for the page. 

■ This tag is required in all HTML documents and it denote the title of the documents.

■ Display a title for the page in search engine result (important for SEO).

■ More than one <title> tag in an HTML document is not allowed.

πŸ‘‰ <Body>

  This tag contains all the contents of an HTML document, such as text, hyperlinks, images, table, lists, etc.

 πŸ‘‰How to run in computer?

 In this HTML code play, we are using an inbuilt editor and browser, so no need to follow the steps.

In computer you need an editor (eg., notepad/notepad++) for typically HTML code. 

πŸ‘‰important points.

πŸ‘‰ Open an editor.

πŸ‘‰ Type your HTML code.

πŸ‘‰ Save the file with (.html) extension.

πŸ‘‰ To execute the code just double click on the html file.

πŸ‘‰ This file will open in pour default browser and you can see the program output.



 First html code

<!doctype html>

<html>

<head>

<title>

first html code.

</title>

<head>

<body>

this is a good man 

and 

the first html code. 

</body>

</html>

AND 

OUTPUT 

SHOWS

THIS 

THIS IS A GOOD MAN

AND 

THE FIRST HTML CODE

πŸ‘‰horizontal line  and learn:-

Uses of  <hr> tag.

uses for creating a horizontal line. This is also called horizontal Rule in html.

⇨ this tag defined a thematic break in an HTML page (e.g. a shift of topic)

used to separate the content (or defined a change) in an HTML page.

⇨ used to separate the content (or define a change) in an HTML page.

⇨ this tag do not have end tag, but we can use it like <hr /> (optional). 

# code of horizontal line # 

<!doctype html>

<html>

<head>

<title>

horizontal line 

</title>

</head>

<body>

first name of html code <hr>

second name of html code <hr>

third name of html code <hr>

fourth name of html code <hr>

</body>

</html>

output of horizontal code the defined

 

⧭ first name of the html code 

 ➖➖➖➖➖➖➖➖➖

⧭ second name of html code 

➖➖➖➖➖➖➖➖➖

.

.

.

.

etc..

[1]. https://draft.blogger.com/blog/post/edit/4774898703246994921/6476663430755362397

[2]. 

https://draft.blogger.com/blog/post/edit/4774898703246994921/9184797639595826363



Comments

Hi , this is bad detail of html code than all material that but than he is good data