Not mentioning DOCTYPE will pose threat to browser compatibility and the use of older versions of HTML. The browser will not support the use of certain new features and tags that come with latest versions of the mark up languages. The purpose of DOCTYPE is to tell the browser what type of HTML you are writing. It is not valid to omit the DOCTYPE. There is no “Standard” format. The browser will just try to parse HTML as best it can. But not all elements will be displayed correctly. DOCTYPE is a required part of all HTML documents.
The <hr> tag in HTML stands for horizontal rule and is used to insert a horizontal rule or a thematic break in an HTML page to divide or separate document sections. The <hr> tag is an empty tag, and it does not require an end tag. Attributes of the <hr> tag are 1). Align- Used to specify the alignment of the horizontal rule. 2). noshade-Used to specify the bar without shading effect. 3). size- Used to specify the height of the horizontal rule. 4). width- Used to specify the width of the horizontal rule.
To create a dismissal alert − Add a basic alert by creating a wrapper <div> and adding a class of .alert and one of the four contextual classes, for example, .alert-success, .alert-info, etc. Also add optional .alert-dismissable to the above <div> class. Add a close button.