Skip to main content

HTML Horizontal lines and Line Breaks

 

HTML Horizontal Line:

Horizontal lines used to separate different areas of a web page. The <hr> tag defines a break in an HTML page, by a horizontal line. rule.

The <hr> element is used to separate content in an HTML page

Example:

·        

·       Write the following code the notepad

 

        <html>

<body>

        <h1> this is 1 heading </h1> <hr>

        <h1> this is 1 heading </h1> <hr>

 

</html>

</body>

 

·       Save the file as “Horizontal.html”

·       Double click on the file. The following page will appear on the web page.









 HTML Line Breaks:

Line breaks are used to decide where the text will break(stop) on a line.

     The HTML <br> element defines a line break.

Use <br> if you want a line break (a new line) without starting a new paragraph

Example:

·       Write the following in notepad

<html>

<body>

       <p> this is <br> My book <br> its color <br> is red <br> </p>

 

</html>

</body>

 

·       Save as “breaks.html”

·       Double click the file. The web page will appear as below





 

 

 

 

 

Comments

Popular posts from this blog

Computer Graphics and image processing Mathematical Background

 Computer Graphics and image processing Mathematical  Background Numerical Background  1.1 Introduction  The instructed material in this course draws upon a numerical foundation in direct polynomial math.  We momentarily update a portion of the fundamentals here, prior to starting the course material in Chapter 2.  1.2 Points, Vectors, and Notation  Quite a bit of Computer Graphics includes conversation of focuses in 2D or 3D. Normally we compose such  focuses as Cartesian Coordinates for example p = [x, y]  T or q = [x, y, z]  T  . Point organizes are  accordingly vector amounts, instead of a solitary number for example 3 which we call a scalar  amount. In these notes, we compose vectors in striking and underlined once. Grids are composed  in striking, twofold underlined.  The superscript [...]  T indicates rendering of a vector, so focuses p and q are segmented vectors  (organizes stacked on top of ea...

An Introduction to Computer Graphics and its Applications

An Introduction to Computer Graphics and its Applications Introduction to Computer Graphics: Illustrations are characterized as any sketch or a drawing or an extraordinary organization that pictorially addresses some significant data. PC Graphics is utilized where a bunch of pictures should be controlled or the production of the picture as pixels and is drawn on the PC. PC Graphics can be utilized in advanced photography, film, entertainment, electronic contraptions, and any remaining center innovations which are required. It is an immense subject and territory in the field of software engineering. PC Graphics can be utilized in UI configuration, delivering, mathematical item, movement, and numerous more. In most territory, PC design is a contraction of CG. There are a few apparatuses utilized for the execution of Computer Graphics. The essential is the <graphics.h> header document in Turbo-C, Unity for cutting edge and even OpenGL can be utilized for its implementation. It was d...

Basics of Database management system

Basics of the Database management system I this article we will learn about:  ■ Purpose of Database Systems  ■ View of Data  ■ Data Models  ■ Data Definition Language  ■ Data Manipulation Language  ■ Transaction Management  ■ Storage Management  ■ Database Administrator  ■ Database Users  Database Management System: (DBMS) ■ Collection of interrelated data  ■ Set of programs to access the data ■ DBMS contains information about a particular enterprise  ■ DBMS provides an environment that is both convenient and efficient to use.  ■ Database Applications:  ★ Banking: all transactions  ★ Airlines: reservations, schedules  ★ Universities: registration, grades  ★ Sales: customers, products, purchases  ★ Manufacturing: production, inventory, orders, supply chain  ★ Human resources: employee records, salaries, tax deductions  ■ Databases touch all aspects of our life Reason for Database System...