Skip to main content

WHAT IS CSS?ADVANTAGES, SYNTAX.

 CSS PROGRAMMING LANGAUGE                                                                     disadvantages CSS full form is cascade style sheets , which we call it says about how you should display the HTML elements on the screen. CSS tells us the style of the webpage let us take a simple example, if we build a home first we lay out the design that is known as the HTML language. Where the CSS means layout which means giving instructions on how the furniture should be nothing but the CSS. For example if we take PayPal we can see that the background color blue says the CSS background-color property. Netflix is also the best way of saying  CSS property, but if we remove it will be a normal webpage but with the red color and the black plus symbols it looks like the best webpage. Versions of CSS There are different versions available now in case it is developed by Wium we have three versions that are css1, css2, and css3. Currently we are using this css3 version this is the best version fo

HTML FORMATTING ELEMENTS?DELETE, BOLD.

 HTML FORMATTING ELEMENTS

                                                               
formatting elements
bold




  • There are different formatting elements in HTML there are bold, delete, italic, emphasize, and make smaller this will add a new feature to the web page that you are creating.
  • The formatting elements are designed to display the text on the monitor there are so many syntax for bold which is <b> and italic with <em>.
  • So what we say to be the HTML element means that starts with the open tag, and closes with the ending tag.
  • Why formatting elements are important in HTML because it makes our web page look attractive to the audience.
BOLD THE TEXT
  • As we know that how important is bolding the text when something you want to highlight at that time can make use of bold elements and make it look audience attractive.
  • We denote the bold tag with  open tag <b> and close tag </b>.
<html>
<body>

<p>This text is normal.</p>

<p><b>This text </b></p>

</body>
</html>
  • In the above code as we can see that started with an open tag of the HTML element, then the body within it we wrote the paragraph tag inside of that we used the bold tag to make this text.

ITALIC 

  • If you want to make the text italic in a slanting manner then you can make use of this italic tag.
  • We write this by opening tag<i> and then close tag</i>
<html>
<body>

<p>This text is normal.</p>

<p><i>hi</i></p>

</body>
</html>
  • The italic tag we used in between the paragraph tag to look his italic.

SMALLER TEXT

  • Do you want to make text appear smaller on your web page for that use the element small.
  • In HTML we use it as <small> and </small> this is the keyword that we write in HTML.
<html>
<body>

<p>This is some normal text.</p>
<p><small>hello</small></p>

</body>
</html>
  • In order to make the text look smaller place the keyword in between the paragraph tag to look in smaller size.

MARK 

  • When you want to mark something that is important in a book we use highlighter in a similar way to color anything in an HTML web page we use mark element <mark>good</mark>.
<html>
<body>

<p>tomorrow <mark>test</mark> is there</p>

</body>
</html>
  • The mark is used in order to highlight the sentence or word for the important terms or points.

DELETE

  • If You have written something want to delete it can automatically remove it by using this element <del> t</del>
<html>
<body>

<p>dress colour is <del>green</del>blue</p>

</body>
</html>
  • If you want to delete any line from your code then you can use the this syntax.

INSERT

  • This is the option we can underline the text which we have typed in the html web page <ins>color</ins>
<html>
<body>

<p>my bag is <del>filled</del> <ins>choclates</ins>.</p>

</body>
</html>
  • Then suppose if you just want to insert something into your code then you make use of this concept.

SUBSCRIPT
  • When you want to write formulas of chemistry like h20 in that 2  should come down for that purpose we use it <sub>  </sub>
<html>
<body>

<p>is  <sub>h20</sub>chemical</p>

</body>
</html>
  • Express the chemistry elements then use the subscript keyword.

SUPERSCRIPT
  • When want to make the text appear above the normal that's why we use it <sup>  </sup>.
<html>
<body>

<p>who<sup>is</sup> he.</p>

</body>
</html>

PRACTISE
  • Give extra importance to the text India is given below.
        hi hello everyone I am from<b> India</b>.
  • Italic all the lines in the below paragraph.
         <i> minimum 60 percent of marks each in physics and maths at 10+2</i>.
  • Mark the word every day in the sentence.
        exercise is good for health if we do it <mark> every day </mark>.
  • Use subscripts and write the oxygen formula (02).
          Oxygen is the o<sub>2</sub>main thing for life.

          


Comments

Popular posts from this blog

WHAT IS C LANGUAGE? USES, COMPILER

C LANGUAGE C language compiler, C is one of the most popular languages in programming,  Dennis M.RITCHIE invented C programming in the year the 1970s,  C is a high-level programming language which means, its instructions are away from the understanding of the processor. There is a small difference between C language and C++ that is c does not provide object-oriented support. C++ gives class-based support(ORS) which means the same as the previous line in this blog. WHY LEARN C  LANGAUGE Learning C language and a compiler will be useful for coding. Especially for making a website with C language. If we learn C++ it will be useful for making a website. This means C language is only used for making a website but C++ is used for adding colors background colors etc. C language is one of the straightforward languages means easily understandable language. USES OF C LANGUAGE While the C language is used, in the creation of hardware devices.  It is also used in the OS, that is the operating sy

OPERATORS IN C?ARITHMETIC, ASSIGNMENT....

  O PERATORS IN C                                                                  operators A n op erator is a symbol that acts on data items known as operands in order to process them.   for eg-   a+b   ( "a" and "b" are operands, and "+" is an operator ).               c-a     ( " c "&"a"  both are operands "-" operator ).    We can do addition, subtraction, multiplication, division, etc........ Operand and the operator plays a very important role in the programming language. CLASSIFICATION OF OPERATORS B ased number of operands operating upon, operators are classified into three types. Unary operators(operate upon single operand). Binary operators(operate upon two operands). Ternary operators(three operands). On the type of execution they perform on the operands, operators are classed  into six types Arithmetic operator :-arithmetic operators are the operators which perform addition( + ), subtraction( - ), multipli

FUNCTIONS IN C?CLASSIFICATION, PARAMETERS, LOCAL VARIABLE.

 WHAT IS A FUNCTION                                                                         function A self-contained, named block of code that performs the specific task when called is nothing but a function. Note:-functions are the task performers in C projects.  FUNCTIONS CLASSIFICATION We have 2 types of functions they are user-defined functions and library functions. A pre-created function that comes with C installation is nothing but a library function, For eg:- print () and scanf(). Library functions are ready-made named code blocks. We need not create them, Just use them in our programs. We can make use of this library function by making the library function available to the program and the next step is calling the library function. Our own created function which is the program-created function is nothing but a user-defined function , eg- the main function is the example of a user-defined function. BENEFITS OF USER-DEFINED FUNCTION There are many benefits of user-defined func