Skip to main content

Line Breaks & Horizontal Rules

Line Breaks & Horizontal Rules


<br/>

As you have already seen, the browser will automatically show each new paragraph or heading on a new line. But if you wanted to add a line break inside the middle of a paragraph you can use the line break tag <br/>.

line break


<hr/>

To create a break between themes — such as a change of topic in a book or a new scene in a play — you can add the horizontal rule between sections using the <hr /> tag.

                                horizontal rule



There are a few elements that do not have any words between an opening and a closing tag. They are known as empty elements and they are written differently. 

An empty element usually has only one tag. Before the closing angled bracket of an empty element, there will often be a space and a forward slash character. Some web page authors miss this out but it is a good habit to get into.

next> semantic markup

Enjoy 


Comments

Popular posts from this blog

HOW TO CREAT OWN FIRST WEB PAGE

HOW TO CREAT OWN FIRST PAGE Follow these step to create own HTML web page 1. Open your text editor              mac: text editor  windows: notepad  Linux: text editor 2. Write your code 3. Save your file with .html extension           (example: myfirstpage.html) 4. Now, go to your saved file and double click on that. 5. your result on the screen IF you don't have any computer,you can try on your android mobile. 1. Go to play store. 2. Download text editor.(download anwriter free html editor) continue with above steps. or  you can try Codepan.io Enjoy.... For more blogs related to technology you can visit Relatetechno.codes

Summary of Text

We are understanding about text. In text we have learnt about how to use headings , paragraphs, How to BOLD , Italic, How to Superscript and subscript and how to creat Line breaks. In sementic  Markups we study strong and emphasis, quotation,abbreviation&Acronyms , Citation and definations , Author's Address and change in content. Here i attached a page . The Code The HTML Page Thank you for coming Here . For practing this you can choose Wikipedia pages.

LINKS

 Links links are very useful for us. they allows us to move one page to another page. it will make a better experience for user. <a> Links are created with <a> tag element . Users can click Anything between the opening and closing</a> tag. We can specify which page we want to link with href attribution. Linking to Other Website <a href="https://www.wikipedia.org">Wikipedia Home</a> Linking page on  same website <a href="index.html">Home</a> Email Link <a href="mailto:sagar@sagarved.com">Email To Sagar</a> Opening Links in a New Window Target  <a href="google.com" target="_blank">Google Home</a> Linking To a Specific Part in a Same Page To achieve this we  use I'd'. For referencing  A id element we use # and followed by link . <a href="#contact">Contact</a> Linking to a Specific part on Another Page If we want to link a specific part then we r...