An HTML element is defined by a start tag, some content, and an end tag.
<tagname> is called start tag. </tagname> is called end tag.
Syntax
<tagname> write here Content </tagname>
example:
<h1> This is html element </h1>
Note: Some HTML elements have no content (like the <img> element). These elements are called empty elements. Empty elements do not have an end tag!
<!DOCTYPE html> is used for html5 documents. <html> is called root element. <head> element contains meta information of web pages. <title> element display content in browser's title bar. It is also useful for SEO.
<h1> is used to define a large heading. Mostly developers use only one h1 tag in a web page. <p> element defines a paragraph.
If you are forgetting the end tag then it will create problem in complex web designing.
<h1< same as <H1>
Comsysapp.com is an educational website. Students and software developers can learn programming language tutorials. Comsysapp is very useful for beginners and professional developers. Comsysapp provides tutorial in easy language. Comsysapp.com has focus on simplicity.
Comsysapp.com provides free tutorials like c, html, css, etc. All tutorials are free for beginner and professionals.
comsysapp.com is not responsible for any mistake. We are not responsible if information made available on our website is incomplete or invalid. But comsysapp.com always try for zero-zero mistake.
comsysapp.com does not collect any data from users. We use Google AdSense advertising on our website. We never ask personal or private information.
copyright © 2023