Showing posts from June, 2022

Why To Learn C As Your First Programming Language?

If you want to learn a programming language and come over to C language to learn as your first programming but don't know if you should learn it or not as your first programming language then here are 4 reasons that will help you decide if it should be your first programming language or not. C is Easy To Learn C programming language is easy to understand and learn for beginners. New programmers or beginners can easily get comfortable with progamming concepts by learning the C language. C is the Mother of All Programming Language C is one of the oldest programming languages and it contains all the basic and advanced concepts of programming in general. If you learn C as your first programming language, it will be easy for you to switch and learn other programming languages as you will have the basic concept of programming. After learning C, you can switch or migrate to other programming languages like C, C++, Java, JavaScript, etc. C is used To Develop System Level Apps C programming

How To Insert CSS into an HTML document?

There are three ways to insert CSS into an HTML document. They are: External CSS Internal CSS Inline CSS External CSS In external CSS you have to create a separate css file, for example, style.css and then link this file to html document using <link> tag inside <head> section of an HTML document. The code is <link rel="stylesheet" href="style.css"> syntax: /* <link rel="stylesheet" href="filename.css"> */ Internal CSS In internal CSS, CSS code is written inside the <style> tage inside <head> section of an HTML document. For example: <head>    <style>          body{        background-color: red;       font-family: arial;    </style> </head> Syntax /* <head>     <style>    -------------------------    -------CSS Code-------   --------------------------     </style> </head> */ Inline CSS In Inline CSS, CSS code is written in the 'style' attribute of any s

How To Insert JavaScript in HTML?

There are two ways to Insert/Connect JavaScript to HTML documents. They are: Use External JavaScript You can create external JavaScript and link it to the HTML document. First of all, create a JavaScript file, for example, MyScript.js , and type all the JavaScript code you want. Then goto HTML document and inside <head> section add this code. <script src="MyScript.js"></script> Syntax: <script src="filename.js"></script> Use JavaScript inside the HTML document You can also type JavaScript code inside the HTML document using <script></script> tag inside <head> or <body> section. For example: <html> <head> </head> <body>  <button onclick="text()">Click</button>   <button onclick="date()">Date</button>   <p id="demo"></p>   <p id="date"></p>     <script>       function text(){   doc

What is Language Processor and Its Types

Language processor is a software which is used to convert the high-level languages code into machine code. Example: C, C++, Java, etc. There are different types of language processor like Compiler, Interpreter, and Assembler. Types of Language Processor Compiler Compiler is a language processor which converts code written in high-level languages to machine code. It converts whole program at once. The written code is known as Source Code and the executed program is known as Object Program. Interpreter Interpreter is a language processor which converts code written in high-level languages to machine code one statement at a time. It first execute the one statement of code and then second, then third and so on. It also don't generate Object Program. Example: QBASIC, Visual BASIC, etc. Assembler Assember is a language processor which converts code written in assembly language to machine code.

How To Create A Simple Navigation Bar Using Only HTML and CSS?

STEP 1: Add a ul tag and inside it add li tag. Inside li tag add a tag with the Name. HTML Code <!DOCTYPE html> <html lang="en"> <head>   <meta charset="UTF-8">   <meta http-equiv="X-UA-Compatible" content="IE=edge">   <meta name="viewport" content="width=device-width, initial-scale=1.0">   <title>Document</title>   <link rel="stylesheet" href="style.css"> </head> <body>   <div class="header"><h1>SmartTechTip</h1></div> <ul>   <li><a href="">Home</a></li>   <li><a href="">HTML</a></li>   <li><a href="">CSS</a></li>   <li><a href="">JS</a></li>   <li><a href="">About</a></li> </ul> </div> </body> </html> STEP

How To Create a Fan Using Only HTML and CSS?

STEP 1: Add <div class="fan"></div> inside the body section.   STEP 2: Add an image inside the div. <img src="fan.png" alt="fan"> Download Image( Click Here ) <!DOCTYPE html>         <html lang="en">          <head>          <meta charset="UTF-8" />          <meta http-equiv="X-UA-Compatible" content="IE=edge" />          <meta name="viewport" content="width=device-width, initial-scale=1.0" />          <link rel="stylesheet" href="style.css" />          <title>Fan</title>          </head>          <body>          <div class="fan">          <img src="fan.png" alt="fan">          </div>          </body>         </html> STEP 2:  Add this CSS Code. .fan{         width: 400px;         height: 400px;          margin:auto;       

Trending Posts

Why Should You Create Programming Notebooks?

How To Create a Fake Facebook Login Clone Using Only HTML and CSS?

What Are The Use of Function Keys F1 to F12 on The Keyboard?

5 Awesome Computer Shortcut Key Tricks You Must Try

How To Create A Magic 8 Ball Using HTML, CSS, and JavaScript?

12MP vs 48MP vs 64MP vs 108MP | Does More Megapixel Equal Better Image Quality?

Why iPhones Don't Have Memory Card Slots?

Is It Good To Use Social Media?

8 Characteristics Of Modern Computer

Why Do All Celebrities Use iPhones?