How to set Table width, height, color & padding using CSS?

Empty-cells

This property is used to set whether or not to display borders and background on empty cells in a table. It will work only if the border-collapse is set to separate. We can set this property to show (default) or hide.

Ex:-

table { table-layout: fixed; }

How to set Table width and Height?

We use width and height property to set table width and height.

We can also set table heading (th) width and height.

table { width: 100% ;}

th { height: 10px; }

How to set Table Padding?

This property is used to control the space between the border and the content in a table, this is used on <td> and <th> elements.

th, td { padding: 10px; }

How to set Table color?

table {background-color: pink;}

Tagged : / / / / / / /

Top 21 Most have Windows Software, Tools, and Application

  1. Advanced SystemCare.
  2. IObit Driver Booster.
  3. Dropbox.
  4. Internet Download Manager.
  5. Adobe Photoshop CC: Best Photo Editor App.
  6. AutoHotkey.
  7. Skype.
  8. Slack.
  9. LibreOffice.
  10. PhotoDirector 10 Essential.
  11. Internet Browser: Google Chrome.
  12. Cloud Storage: Google Drive.
  13. Media Player: VLC.
  14. Notepad.
  15. Microsoft Paint.
  16. Control Panel.
  17. Command Prompt.
  18. TweakPass: Best Password Manager.
  19. Hotspot Shield: Best VPN For Windows 10 PC.
  20. WinX HD Video Converter Deluxe: Best Video Converter
  21. Logitech Webcam: Best Webcam Software For Windows PC.

Advanced SystemCare:

IObit Advanced SystemCare is simple and easy-to-use software. It helps you to clean, speed up, optimize, and protect your system. It also allows you to protect your online privacy. This tool also helps you to free up your disk space by cleaning junk files.

IObit Driver Booster:

Driver Booster is a powerful device driver download tool that helps gamers boost their game performance. It offers priority updates for gaming components and game-ready drivers to improve the gaming experience.

Dropbox:

Dropbox is a file hosting service providing personal cloud, file synchronization, cloud storage, and client software. This tool is designed to collaborate on your projects, whether you are working alone or in a team. It offers you to safely sync data across all devices and store data up to 50 GB.

Internet Download Manager:

Internet Download Manager, also known as IDM, is a tool that helps you to increase download speeds by up to 5 times. You can also resume and schedule downloads. Easy to use graphic user interface makes IDM user-friendly and easy to use the Internet. Info-rich download dashboard.

Adobe Photoshop CC: Best Photo Editor App:

Listing down the best Windows 10 software and missing Photoshop is certainly not possible. When it comes to photo editing, Adobe Photoshop CC happens to be one ubiquitous application. This picture editor is the cradle that holds the entire photography industry in its arms. Equipped with tons of editing tools and dozens of photo effects & filters, it’s has become one of the most trusted hands for numerous artists & designers around the world for decades.

AutoHotkey:

AutoHotkey is an automation scripting language for Windows. It is one of the best software for Windows 10 that allows simple, flexible syntax, which helps you to focus more on the task. It also supports object-oriented and command-based programming. The software also helps you to define hotkeys for the mouse and keyboard.

Skype:

Skype for business is a web conference n app that allows you to make a free call online for up to 50 people. It also offers voice calls and video chat between tablets, computers, and mobile devices.

Slack:

Slack is a useful messaging platform designed for Windows 10. It is one of the best computer software that helps you to integrate and streamline communication. This business communication app offers cross-team transparency and more natural productivity within a business.

The tool also allows you to create communication channels for mobile and desktop messaging. It also allows external and internal sharing and flexible browsing.

LibreOffice:

LibreOffice is easy to use the open-source software product. It helps you to calculate, analyze, and manage data. This free software has numerous statistical and banking functions to create formulas and perform complex calculations on data. The tool also provides dynamic charts that automatically update altered data.

PhotoDirector 10 Essential:

PhotoDirector is a photo editing tool for Windows 10 PC. It helps you to combine image editing and optimization with portrait retouching. This photo editing tool helps you to delivers professional results without the steep learning curve. It offers exclusive AI tools, features like Express Layer Templates, and customizable templates.

Internet Browser: Google Chrome:

Unsurprisingly, Google Chrome is still our top browser pick. It’s super-speedy, includes little conveniences like letting you instantly search Google for an image, and has a vast library of Chrome extensions. Throw in cross-platform syncing that lets you open your desktop tabs on your phone and vice-versa, and you’ve got a fantastic browser for all purposes.

Chrome isn’t without its faults, however. Plenty of people want to avoid Google’s pervasive tracking in Chrome, and it gobbles a lot of RAM. But the good news is that you have plenty of other fantastic browsers to choose from, like Firefox and Opera.

Cloud Storage: Google Drive:

If you only pick one cloud app service, Google Drive is the one you should install. It offers 15GB of free storage, which is shared across your Google account with Google Photos and Gmail too.

Google Drive offers an app for every major platform, so you can take your files anywhere. In addition to syncing files you place in the dedicated Google Drive folder, the desktop app makes it easy to back up folders on your computer and external devices, too.

Google Drive offers an app for every major platform, so you can take your files anywhere. In addition to syncing files you place in the dedicated Google Drive folder, the desktop app makes it easy to back up folders on your computer and external devices, too.

Paired with OneDrive that comes built in to Windows 10 or another free cloud storage provider, you can get plenty of storage space and separate your files logically by service.

Media Player: VLC:

 VLC Media Player, which packs a ton of features and is capable of playing nearly every video and audio format imaginable. You might not break it out often, but give VLC a download while you’re setting up your PC. You’ll save yourself the hassle of messing with video codecs or using QuickTime, which isn’t supported for Windows any longer.

Notepad:

Notepad is a simple text editor for Microsoft Windows and a basic text-editing program which enables computer users to create documents. It was first released as a mouse-based MS-DOS program in 1983 and has been included in all versions of Windows since Windows 1.0 in 1985.

Microsoft Paint:

Microsoft Paint is a simple raster graphics editor that has been included with all versions of Microsoft Windows. The program opens and saves files in Windows bitmap (BMP), JPEG, GIF, PNG, and single-page TIFF formats. The program can be in color mode or two-color black-and-white, but there is no grayscale mode. For its simplicity and the that it is included with Windows, it rapidly became one of the most used applications in the early versions of Windows, introducing many to painting on a computer for the first time. It is still widely used for simple image manipulation tasks.

Control Panel:

You can use Control Panel to change settings for Windows. These settings control nearly everything about how Windows looks and works, and you can use them to set up Windows so that it’s just right for you.

Command Prompt:

Command Prompt is a command-line interpreter application available in most Windows operating systems. It’s used to execute entered commands. Most of those commands automate tasks via scripts and batch files, perform advanced administrative functions, and troubleshoot or solve certain kinds of Windows issues.

TweakPass: Best Password Manager:

TweakPass Password Manager locks passwords, contact information, and credit card details in a single location. So you just have to remember a single, Master Password to access them.

Hotspot Shield: Best VPN For Windows 10 PC:

Hotspot Shield is the “world’s fastest VPN,” as verified by Ookla’s Speedtest. By connecting to one of our 3,200+ VPN servers in 80+ countries — including 35+ cities around the world — your internet traffic is encrypted. This ensures you can browse the web securely and privately, keeping your sensitive data protected.

WinX HD Video Converter Deluxe: Best Video Converter:

The WinX HD Video Converter is a product of the Digiarty software development company, based in China. The program was originally released in 2010, and since then, has been used by thousands of users. We decided to test the new options and give you a detailed WinX HD Video Converter Deluxe review.

Logitech Webcam: Best Webcam Software For Windows PC:

webcams aren’t just useful for boring conference calls; there are now some high-quality cameras out there that you can use for serious content creation. If your webcam is something you use a lot, especially if you’re now working from home, then you probably need some great software to go with it.

Tagged : / / / / /

How does a For loop work in JavaScript

For Loop

The for loop is frequently used, usually where the loop will be traversed a fixed number of times.

Syntax:

Nested For Loop

For loop inside for loop

Syntax:

While loop

The while loop keeps repeating an action until an associated condition returns false.

Syntax:

Nested While loop

While Loop inside While Loop

Do While Loop

The do while loop is similar to while loop, but the condition is checked after the loop body is executed. This ensures that the loop body is run at least once.

Syntax :

Nested Do While Loop

Do while inside Do while

Tagged : / / /

Tutorials for PHP “if elseif else” Condition

What is “The if...elseif...else” Statement“?

The special Statement (if…elseif…else) is used to combine multiple Statements (if…else). The if-else-if-else statement allows you to combine multiple If-else statements, allowing the compiler to specify behaviors with more than two possible outcomes.

if (condition) {
  code to be executed if this condition is true;
} else if (condition) {
  code to be executed if first condition is false and this condition is true;
} else {
  code to be executed if all conditions are false;
}
PHP If Else - javatpoint

Example1:- If this condition is true!

Output:-

Example2:- If first condition is false and this condition is true!

Output:-

Example3:- If all conditions are false!

Output:-

Tagged : / / / / / / / / / /

Complete Referance of MVC Design Pattern

Model View Controller (MVC)

The MVC is an architectural pattern that separates an application into three main logical components Model, View, and Controller.
Each of these component has their own role in a Project.
MVC model was first introduced in 1987 in the Smalltalk programming language.
More than 80% of all web app frameworks rely on the Model View Controller architecture.

Model

The model is responsible for getting data from a database, packaging it in data objects that can be understood by other components, and delivering those objects, most of which will happen in response to input from the controller.

View

It represents how data should be presented to the application user. User can read or write the data from view.
Basically it is responsible for showing end user content, we can say it is user interface.
It may consists of HTML, CSS, JS.

Controller

The user can send request by interacting with view, the controller handles these requests and sends to Model then get appropriate response from the Model, sends response to View.
It may also have required logics.
It works as a mediator between View and Model.

Why use MVC?

  • Organized Code
  • Independent Block
  • Reduces the complexity of web applications
  • Easy to Maintain
  • Easy to modify

Basic Structure

  • Assets
    • CSS
    • Images
    • JS
  • Config
    • Database Config File
  • Controllers
  • Model
  • Views
Tagged : /

Tutorials for PHP “if else” Condition

What is “The if...else Statement”?

You can improve the decision-making process by adding a separate argument to the if statement. When using the if-else statement, you must run one block of code if the condition is true, and another block of code if it is false. The following is an example of how it could be written:

C if else - w3resource

Syntax:-

if(condition){
    // Code to be executed if condition is true
} else{
    // Code to be executed if condition is false
}
PHP If Else - javatpoint

Example1:- When The Condition is True!

Output:-

Example2:- When The Condition is False!

Output:-

Tagged : / / / / / / / / /

What is the IF statement And Switch Statement in JavaScript?

If Statement

It is used to execute an instruction or block of instructions only if a condition is fulfilled.

Syntax: –

if (condition)
      {
           block of statements;
      }

If statement with logical operator

if ( (condition1) && (condition2) )
     {
        block of statements;
     }

If else Statement

if… else statement is used when a different sequence of instructions is to be executed depending
on the logical value(True/False) of the condition evaluated.

Syntax: –

if(condition)
   {
     Statement_1_Block;
   }
else
   {
     Statement_2_Block;
   }
   Statement_3;

Else If Statement

To show a multi-way decision based on several conditions, we use else if statement.

Syntax: –

If(condition_1)
   {
     statements_1_Block;
   }
else if(condition_2)
   {
     statement_2_Blocks;
   }
else if(condition_n)
   {
     Statements_n_Block;
   }
else
 statements_x;

Switch Statement

Check several possible constant values for an expression.

Syntax: –

switch(expression){
      case expression 1:
            block of statements 1;
            break;
      case expression2;:
            block of statements 2;
            break;
            .
            .
      default:
            default block of instructions;
      }

All the cases will be evaluated if you don’t use a break statement.

switch(expression){
            case expression 1:
                 block of statements 1;
                 break;
            case expression 2:
            case expression 3:
                 block of statements 2;
                 break;
            default:
                 default block of instructions;
            }

Tagged : / / /

Tutorials for PHP “if” Condition

What is If statement?

If the conditions stated are true, the (if statement) is used to execute the code block. In PHP, these are the most basic and cross-platform statements. The if statement in PHP allows code to be executed only if it meets certain criteria. It is executed if condition is True.

Syntax:-

if (condition) {
  code to be executed if condition is true;
}
C++ If...else (With Examples)
PHP If Else - javatpoint

Examples:-

Output:-

Tagged : / / / / / / / / / /