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

WHAT IS HTML?HEADING TAGS

 WHAT IS HTML?

                                                               
hyper link




  • HTML  stands for hypertext markup language this is the full form of HTML.
  • HTML is an important markup language for creating web pages.
  • If we see any website then click the link we go to another page which is known as the web page,
          combination of these web pages is known as a website.
  • It is known by the name html because it is used to make the content in it more presentable.
  • The first line of any html code is <!doctype> which is the most important step we could say.
  • Tin Berners Lee has created the HTML programming language, and version 4.0 has become the most popular one.

BASIC PROGRAM IN HTML
<html>
<head>
<title>page title</title>
<body>
<h1>hi</h1>
</body>
</html>
  • <html> is the main element of the HTML page,<head> it contains the information of the HTML page.
  • <title> is also an element that specifies a title for an HTML page <body> element which contains the body like links, images, and headings.
  • And closing and opening this HTML tag is one of the main tasks </html>.

HTML ELEMENT

  • An element that will start with an opening tag, and closes with a closing tag is known as an HTML element.
  • In the above example of the basic program body it contains h1 tags which open with <h1> and close with </h1>.
  • That / denotes closing of a tag without a slash tells us that it's open.
  • In html element we have the void, which is nothing but the element that does not have an opening tag or closing tag.
  • An nested element means the element as a sub-element is said to be HTML nested

HTML HEADING TAGS

heading tags h1 to h6
html

  • There are different heading tags in HTML, we use HTML heading tags to make the text bigger or smaller to appear on the website.
  •  Based on the classification HTML headings are divided into six types.
  • <h1> hi</hi> ---------> the text appears bigger
  • <h2> hello</h2>----->comparitively somewhat smaller than h1.
  • <h3> lemon </h3>----->small than h2.
  • <h4> fruits </h4>
  • <h5> laptop <h5>
  • <h6> battery <h6>---->as we go till h6 text will seems to be very tiny.

 PARAGRAPH  TAG

  • The paragraph tag is used for getting a new paragraph after each line it is known as a paragraph tag.
  • This tag is useful for writing sentences in different lines it looks in a presentable way also.
  • We denote the paragraph tag with a small <p> and close it </p> this is the syntax.
  • Tag automatically adds blank lines after every paragraph this is the extra benefit of using this tag.
  • So the importance of paragraph tags is given more readability to the audience browsing the web page.
<html>
<head>
<title>hi</title>
<body>
<p>the tomato is in red colour</p>
<p> One of the nutritious food for the body</p>
</body>
</html>
  • Here because of this paragraph tag we get a new paragraph in the above html code.
BREAK TAG
  • Break tag is used when we want a break between the lines in the paragraph it is known as break tag.
  •  Note:- this tag is denoted by br it doesn't have an open tag or close tag that why it is called an empty tag.

  • The difference between the paragraph and break tag are also dissimilarities first is paragraph does give a new paragraph after every new line.
  • Whereas the break tag gives a single line break after every line in the code, so most people say capital BR whether it is correct or not,  but that is also the correct way of defining it.
  • We can also use the horizontal line tag also for giving a line after every paragraph with the break tag this will add an extra feature.
<html>
<head>
<title>hello</title>
<body>
<br> It is one of the most important things in the world that is water which occupies about 99 percent of the earth but only 1 percent of the water is left with fresh water rest all is salty water</br>
</body>
</html>



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