Computer Science, asked by MubashirJan, 6 months ago

Can anyone please guide me on <html> coding I just need few Coding tags & elements.​

Answers

Answered by QwertyPs
1

Lets See..

Every HTML coding or file starts with <html> tag and ends with </html>.

In HTML there are two types of tags :-

  • One that requires a closing tag
  • One that doesn't require a closing tag

Some of the Tags that requires both opening and ending.

  • <html></html>
  • <head></head>
  • <body></body>
  • <title></title>
  • <p></p> (paragraph)

Some of the Tags that doesn't require closing i.e. empty tags.

  • <h1>
  • <br>
  • <img>
  • <link>

________________

Now lets see how a HTML file is designed

Format :

<html>

<head>

<title>"Title here"</title>

</head>

<body>

"All the things of your file should be written here."

</body>

</html>

.

This is the format.

________________

Now lets talk about some tags in html

  • <h1> or <h2> : This tag is used to give headings. The size can be alter by changing the number from 1 to 6. H1 is the biggest size while H6 is the smallest
  • <p></p> : This tag is used to mark paragraph in the html document. It requires both closing and opening tags.
  • <img> : This tag is used import image.
  • <a href> : This tag is used to provide link in the html.
  • <br> : This tag is used to give line break.
  • <ol> : This tag is used for defining ordered list.

And Many more...

.

.

I Hope This Will Help You

## Thanks ##

Similar questions