Sherin
Members-
Posts
76 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Sherin
-
only one h1 tag on a single webpage . however there can be multiple h2 to h6 tags .if you are using HTML5 you could have only one h1 tag per section. either you can use p tag on your page and you have to add css on your p tag.
-
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <h2>Glyphicon Examples</h2> <p>User: <span class="glyphicon glyphicon-user"></span></p> <p>Login: <a href="#"> <span class="glyphicon glyphicon-lock"></span> </a> </p> <p>Alignment :<span class="glyphicon glyphicon-align-justify"></span></p> <p>Search icon on a button: <button type="button" class="btn btn-default"> <span class="glyphicon glyphicon-search"></span> Search </button> </p> <p> <button type="button" class="btn btn-info"> <span class="glyphicon glyphicon-heart-empty"></span> Wishlist </button> </p> <p>Like <span class="glyphicon glyphicon-thumbs-up"></span></p> <p>Download: <a href="#" class="btn btn-success btn-lg"> <span class="glyphicon glyphicon-download"></span> Download </a> </p> </div> </body> </html> You can also more glyphicon icons you can following this link https://glyphicons.bootstrapcheatsheets.com/
-
You want to try this create table product ( p_id int primary key, prod_name varchar(20), price varchar(5) ); insert into product values(1,"Milk",100); insert into product values(2,"Buttermilk",120); insert into product values(3,"Paneer",80); insert into product values(4,"Cheese",150); insert into product values(5,"Ghee",700); select * from product You can get the max price from table SELECT prod_name, MAX(price) FROM product GROUP BY prod_name; You can get min price from table SELECT prod_name, MIN(price) FROM product GROUP BY prod_name;
-
You have declare to class name after hover but actually hover is pseudo-classes and it defines after class name .img-text-wrapper .subtitle :hover { font-weight:600; color:lightgreen; } .country .subtitle2 : hover { font-weight:600; color:black; padding-bottom:60%; }
-
in css file you have try to this span.o { color:blue; padding:0; font-size:20px; font-weight:bold; text-decoration:underline; }
-
you can try this formula when date is insert and automatically weekday is displayed datename(dw,[date])
-
you can try to set interval method: Jquery: $(function () { $("button").click(function () { debugger; count = 0; wordsArray = ["First Text", "Second Text", "Third Text"]; setInterval(function () { count++; $("#word").fadeOut(400, function () { $(this).text(wordsArray[count % wordsArray.length]).fadeIn(400); }); }, 2000); }); }); Html: <button>Click me</button> <div id="word"></div>
-
You can insert multiple record through this way : insert into [table-name] (column_name) values('Value1'),('Value2');
-
You can try this way in html: <ul> <li><img src="sqpurple.gif"><</li> <li><img src="apple.gif"></li> <li><img src="arrow.gif"></li> </ul> css: li{ list-style-type:square; }
-
If you use aspnetcore then pass its Httpmethods calls and after Ispost calls and you pass this method the parameter pass in IsPost method is request.method @{ if(HttpMethods.IsPost(Request.Method)) { var num1=Request.Form["text1"]; var num2 = Request.Form["text2"]; } }
-
DATE_ADD(CURDATE(),INTERVAL 1 MONTH) OR CURDATE()+INTERVAL 1 MONTH
-
You have a select only one table from fetch data in your query. Join the two table using sql query you need to on clause after matching id from both table select table1.column1, table1.column2, table2.column1.... from table 1 Inner join table 2 On table 1.matching_column = table 2.matching_column where table1.column2 < 10
-
I've learnt HTML and CSS from this https://www.w3schools.com/ site. This is the best site for beginner. I hope you will refer this site.
-
Hi, You should try the following CSS. I hope it will work for your. tr:before { content: "Text"; font-size: 0.5em; display: inline-block; -webkit-transform: rotate(-90deg); transform: rotate(-90deg); }
-
Try using this way : <button onclick = "someFunction()">Button</button> Else you can even try : <button class="someFunction">button</button> <script> $(".someFunction").click(function(){ alert("This is a function"); }); </script>
-
TRIM() function is introduced in SQL Server starting with 2017. So this query will work as per requirement regardless of the version.
-
You can try using select * from invoice where accnum like '%19-00/09598%' or select * from invoice where LTRIM(RTRIM(accnum)) = '19-00/09598'
-
Try using display:flex to the div wrapper else the float property.
-
Try updating the code like this : select A.country, count(A.N1) as N from (select country,Count(CustomerID) as N1 from customers group by country) as A left join (select country,Count(CustomerID) as N2 from customers group by country) as B on A.N1=B.N2 group by A.Country
-
Give css property display flex and text-align center. <!DOCTYPE html> <html> <head> <style> h1{ display:flex; text-align : center; } </style> </head> <body> <h1> We buy cars <br/>city </h1> </body> </html>