Posts

Showing posts from August, 2023

bat command in linux

Image
 Bat Command in Linux bat command It is the replacement of cat command It is used to show the file contents with syntax highlighting. It is similar to cat command but bat command adds support for syntax highlighting to make the text easier to read (retrieval) NOTE By default, this command is not installed on your machine. So you need to install it based on the linux distribution, before to test this command. Syntax         bat filename Example 1 - Displaying contents of text file Example 2 - Displaying file contents of shell script

how to use div tag in html and css with examples

Image
  Tamizh Tech Tutorial ................ div tag div stands for division and it is a type of container tag  It is mainly used to create a division or section in HTML page It is styled easily by using its tagname or class or id attribute. Syntax     <div>          </div> I. EXAMPLE OF CREATING RECTANGULAR SHAPE USING <DIV> TAG NOTE In order to create a square shape, the height and width attributes should be equal size. 1. SOURCE CODE <html>     <head>         <title>TODO supply a title</title>         <style>             div             {                 border: 4px double black;                 width: 300px;                 height:300px;                 padding:9px;                 background-color: #6639b7;                 color:white;                 border-radius: 5px;             }             p             {                 font-size: 21px;             }         </style>     </head>     <body>         <div>