Lakshmi Srinivas has Published 287 Articles

Strikethrough text with CSS

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 31-Jan-2020 06:05:18

1K+ Views

Use the text-decoration property to strikethrough text with CSS. You can try to run the following code to underline text:                            This will be striked through.          

Which Measurement Unit should be used in CSS to set letter spacing

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 30-Jan-2020 08:45:13

850 Views

To set letter spacing with CSS, use the em measurement unit.A relative measurement of the height of a font is em spaces. Because an em unit is equivalent to the size of a given font, if you assign a font to 12pt, each "em" unit would be 12pt; thus, 2em ... Read More

What is a Selector and how it is used in CSS?

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 30-Jan-2020 07:23:49

399 Views

A selector is an HTML tag at which a style is applied. This could be any tag like or etc.The following figure describes what a Selector is:Let us see an example of Type Selector, to set color:h1 {    color: #36CFFF; }

Comparison of CSS versions

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 30-Jan-2020 07:21:17

1K+ Views

Cascading Style Sheets, level 1 (CSS1) was came out of W3C as a recommendation in December 1996. This version describes the CSS language as well as a simple visual formatting model for all the HTML tags.CSS2 became a W3C recommendation in May 1998 and builds on CSS1. This version adds ... Read More

How to use FastClick with jQuery Mobile the right way in HTML?

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 30-Jan-2020 07:01:08

170 Views

There is no need to use 3rd party plugins like Fastclick. jQuery Mobile solved this with vclick event.JQuery works well on mobile and desktop and don’t have 300 ms delay$(document).on('vclick', '#impButton', function(){ });

How can we specify default values in MySQL INSERT statement?

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 30-Jan-2020 05:58:13

2K+ Views

At the time of creation of a table, if any column is defined with default values then by using the keyword ‘DEFAULT’ in the INSERT statement, we can take default value for that column. For example, we have created a table ‘employee’ with a default value of column ‘DOJ’ as ... Read More

How to sort MySQL output on the basis of the column which is not in the result set?

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 30-Jan-2020 05:18:16

167 Views

It is quite possible to get the sorted output on the basis of the column which is not even the part of that output or not in the result set. It can be done by selecting the required fields and writing the name of the fields on the basis of ... Read More

Working with tag in HTML5

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 29-Jan-2020 10:18:39

264 Views

You can try to run the following code to learn how to work with the tag in HTML5:                    #svgelem{             position: relative;             left: 50%;             -webkit-transform: translateX(-40%);             -ms-transform: translateX(-40%);             transform: translateX(-40%);          }             SVG                     HTML5 SVG Star                      

Drop target listens to which events in HTML5?

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 29-Jan-2020 08:20:54

112 Views

To accept a drop, the drop target has to listen to at least three events. The dragenter event, which is used to determine whether the drop target is to accept the drop. If the drop is to be accepted, then this event has to be canceled. The dragover event, which is used ... Read More

jQuery Mobile: Sending data from one page to the another

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 29-Jan-2020 08:18:17

198 Views

To pass values, let us say our is the following, with page new.html,StructureThe JS will be:$( document ).on( "pageinit", "#new", function( event ) {    var myParam = $(this).data("url").split("?")[1];    myParam = parameters.replace("structure=","");    alert(myParam); });

Advertisements