Jump to content

Sherin

Members
  • Posts

    76
  • Joined

  • Last visited

Posts posted by Sherin

  1. If you want to separate two pictures in same row the Margin Property allow you to give space between two picture .

    Here is the code

    <html>
        <head>
            <title>IMAGE</title>
        </head>
        <body>
                <img  src="/image/Screenshot_2.png" alt="old car" style="margin: 10px;width: auto;height:300;" >
                <img src="/image/Screenshot_1.png" alt="car1" style="margin: 10px;width: auto;height:300;" >
        </body>
    </html>

     

    I hope this will helps you.

     

     

    • Like 1
  2. var response = "[{
          "Name":"Xyz",
          "Age":"16",
          "ID":"5"
         },
         {
           "Name":"ABC",
           "Age":"15",
           "ID":"6"
        }]";
    
    // convert string to JSON
    response = $.parseJSON(response);
    
    $(function() {
        $.each(response, function(i, item) {
            var $tr = $('<tr>').append(
                $('<td>').text(item.Name),
                $('<td>').text(item.Age),
                $('<td>').text(item.ID)
            ); //.appendTo('#records_table');
            console.log($tr.wrap('<p>').html());
        });
    });
  3. <style>
    
    .header img {
      float: left;
      width: 100px;
      height: 100px;
    
    }
    
    .header h1 {
      position: relative;
      top: 18px;
      left: 10px;
    }
    
    </style>

     

    <div class="header>
    
    <img src="Your logo path" width="Your logo width" height="Your logo height" alt="Logo name">
    
    <h1>Header</h1>
    
    </div>
    
    
    

    I hope this code is help for you

  4. SELECT 
         SUM(CASE WHEN column1 IS NOT NULL THEN 1 ELSE 0 END) AS column1_count
        ,SUM(CASE WHEN column2 IS NOT NULL THEN 1 ELSE 0 END) AS column2_count
        ,SUM(CASE WHEN column3 IS NOT NULL THEN 1 ELSE 0 END) AS column3_count
    FROM table

     

     
×
×
  • Create New...