Skip to main content

Posts

Showing posts from April, 2021

Recent Posts

Latest News

● Posts on CSS and SEO coming soon ...●

Introduction to C

 What is C in programming and why it is used? C is a general purpose programming language developed by Dennis Ritchie at AT & T's Bells laboratory in 1972.  C language is from one of the popular languages. It is simple and easy to use and it is portable. It is considered  to be a middle level language and it is close to machine level language due to which it executes instructions faster .  With the help of C language we can solve complicated mathematical equation. C language can be good base to learn other programming languages like C++, C#, Java.  Importance of c programming language  and where it is used?           Major parts of popular operating systems like windows, Linux, Unix and  Android are written in C. It is used for writing Device Driver programs ( program which operates or control device ).           In a professional games , when user gives instructions like firing, aiming towards objects, computer has to respond this instructions faster. If computer takes tim

Introduction to programming

What is a programming? :-  Programming is a way to communicate with computer by giving set of instructions to the computer. Giving set of instructions to the computer is known as program. Those who gives instructions to the computers are known as programmers. Computer cannot understand language as we use to communicate with each other. Computer can understand only binary language(0 and 1). Binary code is very difficult to understand since it is only in form of 0 and 1. Computer is not smart enough to do task on its own, we need to provide instructions to perform task. We use programming languages to give those instructions to the computer. Still we cannot give directly instructions to the computer because writing instructions in 0 and 1 is a difficult task. So here we need to convert our instructions to binary language by using translators which converts set of instructions in machine readable form.  Programming languages are of two types 1. Low Level  Languages :  Low level languag

Font property in CSS

Using font properties in CSS : Font family : this property defines a list of font family names or generic names. List of font family or generic family(font families with similar look ) names helps if one font is not displayed, the next font will be displayed depends on availability of font in user system.  Eg. P {font family : ‘Impact' }  This font displayed in my system but in other system it is displayed as default value, so if font is not available in system so browser will  be display default font family. If font has more than one word then use quotation mark('     '). Font style : this property define how to style  the font. It has values italic, oblique(text is slanted to specific angle similar to italic), normal(default). Font weight : this property increase weight of font or thickness the text. It has values normal (default), lighter, bold, bolder ( this specifies weight of font relative to default or parent value.).  We can also specify by numbers between (1-1000)

Selectors in CSS

  What are Selectors & Types of selectors in HTML? Selector defines HTML element to be styled. Selectors can contains more than one HTML elements. The  Selectors in CSS have four type: • ID selector :  ID Selector is used to style specific element with a unique id. Id is represented by ‘#' in Style sheet. Id represents unique name to HTML element and created by using id attribute of HTML elements. Id selector is used as follows: #nameofid{ property and value } • Class selector :  Class selector is used to style multiple elements in a specific class. Class is represented by period (.) In style sheet. Class name can be created by using class attribute of HTML elements. Class selector is used as follows: .nameofclass( Property and value )   • Group selector :  Group selector is used to style all elements in a group. With help of Group selectors we can apply same style of different elements without writing them multiple times. Group selector is used as follows: E1, E2, E3 {