sureshalagarsamy / HTML

more about HTML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTML

Difference between tags and elements

  • Elements having starting tag, may contain some content and a closing tag.

For example <h1>Heading 1</h1>

  • Tags are just <h1> is a starting tag and </h1> is a closing tag.

void elements in HTML

  • HTML elements which do not have closing tags or do not need to be closed are Void elements.

For Example <br /> <img />

Difference between <strong> <b> tags and <em> <i> tags

<b> and <i> tags stands for bold and italic. These two tags only apply font styling and bold tag <b> just adds more ink to the text, these tags don't say anything about the text.

Whereas, <strong> and <em> tags are represent the text is of strong importance or more importance and emphatic stress respectively.These tags have semantic meaning.

About

more about HTML