Skip to main content

Posts

Showing posts from December, 2021

What is the display moving image right to left in HTML

  In this article, how to display moving image right to left in HTML. In HTML it was so easily to move image on marquee tag. It is used to scrolling the images form 4 sides method right to left, left to right or vertical bottom to top, top to bottom .     Read also: How to create to display Image Foreground and Background  Syntax: <marquee> <img src=""> </marquee> By default the marquee moves right to left or using to moves keywords behaviour and direction.   Examples: <marquree behaviour="scroll" direction="left or right"> <img src=""/> </marquee> Display Moving Image Right to Left in HTML <html> <head> <title>Dailyaspirants.com</title> </head> <body> <marquee behavior="scroll" direction="right"> <img src="img/21.jpg" /> </marquee> </body...

How to filter table in active status in PHP

  In this article, how to filter table in active status in PHP and its very simple to fetch the data from the databases using PHP and display in HTML format.      In this method, we are already creating a database and table and table named as a student.  Table of Contents: 1.Filter Table in Active Status in Php 2. Filter Table INActive Status in php Methods:  1. Connection with Database  2. Fetch Data from the Database  Here we are created to empty files :  1.index.php  2.dbconfig.php  In this method, we are going to fetch the record using of select query from the database. Database: Filter Table in Active Status in PHP  1. connection with database:  In the empty file, dbconfig.php is used to make a connection with the database. it's a common file for all the PHP files to want to perform to fetch the records. Here, the code below: <?php $link='localhost'; $username='root'; $password=''; $con=mysqli_con...

Write a code in HTML to show the image of foreground and background

  In this article, we will learn how to code in Html to show the image of foreground and background images and below Example code better to understand.   In the method, CSS is the main role to visual both images front and background and absolutely in the use of the container. use of CSS to set the z-index of foreground image a little higher than the background image. Read also:  Rowspan and Colspan together in Html How to create Multiple table in html  Table of Contents:   HTML CODE   Foreground and Background image Full Examples  CSS Style: body { background-color:#fefefe; } .container { width: 100%; margin-right: auto; margin-left: auto; } .none-list { list-style: none; } .item img { border-radius:10px; } .shadow { box-shadow: 10px 10px; border-radius:20px; } .grid { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; position: relative; } .grid-2 .item:nth-child...

How to create rowspan and colspan together in html

<th>  - table header in table <td>  - table data in table Colspan - A Colspan allows a space in a single table cell to span the horizontal width of more than one column cell or more. Rowspan - A Rowspan are allowing space in vertical width of height of more than one-row cell or more. see also : How to create Multiple table in html Both the colspan and rowspan attributes are doing the same things it's " merge cell " and using of <th> and <td>.  Table of contents: rowspan in html   colspan in html rowspan and colspan together in html rowspan in html: <style> table, th, td { border: 1px solid black; padding:10px; border-collapse: collapse; } #rowspan{background-color:#363636;color:#fff;} </style> <html> <head> <style> table, th, td { border: 1px solid black; padding:10px; border-collapse: collapse; } #rowspan{background-color:#363636;color:#fff;} </style> </head...