The HTML has 6 types of headings tags for displaying large font text in the title or heading format. The biggest of which is <h1> </ h1> <h2> </ h2>, <h3> </ h3> … to h1
<h1>A long flow of text</h1> <h2>unbroken by title,</h2> <h3>subtitles, and other headers, </h3> <h4>crosses the eyes and numbs the mind</h4> <h5>not to mention the fact that</h5> <h6>it makes it nearly impossible to scan the text for a specific topic</h6>
** Let’s say again in the paragraph tutorial – Here only h1 elements are given to save space and time, in fact these elements will be present in the <body> </ body> and must follow the complete structure of the document. This means that they must be kept inside a complete document. Like in the Doc Type tutorial
A long flow of text
unbroken by title,
subtitles, and other headers,
crosses the eyes and numbs the mind
not to mention the fact that
it makes it nearly impossible to scan the text for a specific topic
** Here’s the CSS effect of our site, because size and color are a little different, you can save it, run it in the browser or in our editor, you can see the actual output.
Like p tags, you can also use attributes like align, class, dir, id, lang, onlick, onkeydown, onkeypress, style, title etc.
Using heading (<h1> </ h1>) and paragraph (<p> </ p>) element,
<!DOCTYPE html> <html> <head> <title>HTML Tutorials</title> </head> <body> <h1>Welcome World</h1> <p>To learn Web developemnt and design please visit <a href="https://ashik.pw">Ashik.pw</a> </p> </body> </html>
This is a complete example. Run with .html extension (eg index.html test.html) Run in the browser.