01 HTML -Tags HTML record

01 Create an HTML document with the following formatting options: 

(a) Bold, (b) Italics, (c) Underline, (d) Headings (Using H1 to H6 heading styles), (e) Font (Type, Size and Color), (f) Background (Colored background/Image in background), (g) Paragraph, (h) Line Break, (i) Horizontal Rule, (j) Pre tag

 

Program:- 01

Save:- html_tags.html

<html>
    <head>
        <title>first program</title>
    </head>
    <body bgcolor="lightyellow">
        <b>This is bold text</b><br>
        <i>This is italic text</i><br>
        <u>This is underlined text</u><br>
         <h1>This is heading 1</h1>
         <h2>This is heading 2</h2>
         <h3>This is heading 3</h3>
         <h4>This is heading 4</h4>
         <h5>This is heading 5</h5>
         <h6>This is heading 6</h6>
        <font color="blue" size=4 face="algerian">IBM Degree College</font>
        <pre>
                This is a formatted text by using
            the HTML pre tag. It maintains both space
            and line break.
        </pre>
        <p>
                This paragraph   has  multiple lines.
             But HTML reduces them  to a single  line,
             omitting the carriage return we have used.
         </p>
        <hr> This text contains horizontal ruler <hr>
     </body>
</html> 

Output:-


 

 



Comments

Popular posts from this blog

digital marketing ppt-u1

SOFTWARE

cn lab

Computer Operations and Performing - D L Unit-1-1

DBMS Degree Lab Records

DS-Record-mca-04) write a program for evaluating a given postfix expression using stack.

Unit-1 Foundations of Software Systems and Blockchain

Access the Internet to Browse Infromation & E-Mail Operation- D L Unit-2-1

Unit 2: Foundations of Ownership, Security Related Concepts in Blockchain

6)what are the various service of internet and protocols ICT-unit-1