Skip to main content

Posts

Html special characters , UTF-8 special characters , emojis in html

We all are well known by emojis. We use them frequently in chats to express ourselves. In web emojis and other special characters can be added using special keywords which is like this  &#*****;  where the places of asterisks (*) are to be taken by UTF character values. For example the emoji 😘 can be added using  &#128536 If you want you can also add emojis and other special characters  without writing the UTF code . You can also copy and paste these entities directly in your HTML document, but before that add following line of code in  <head> tag of document HTML < meta charset = "UTF-8" > Example: HTML < p > I am & spades ; </ p > < p > I am &#9824; </ p > < p > I am &#x2660; </ p > I am ♠ I am ♠ I am ♠ A list of unicodes of html emojis can be found here at  https://apps.timwhitlock.info/emoji/  and also here at http://www.unicode.org/emoji/  or...

CSS dropdown button , HTML dropdown button

Dropdowns are always been attractive. The problem beginners face is that they can not make nice effects using css and try to copy paste.But after reading this you will be able to do it. Consider the example  View example The above example can be achieved using the source code CSS . dropdown { margin : 0 ; margin-left : auto ; margin-right : auto ; position : relative ; display : inline-block ; background : green ; color : # fff ; width : 160 px ; height : 40 px ; text-align : center ; line-height : 40 px ; font-size : 30 px ; } . dropdown-content { display : none ; position : absolute ; background-color : steelblue ; min-width : 160 px ; color : # fff ; box-shadow : 0 px 8 px 16 px 0 px rgba ( 0 , 0 , 0 , 0.2 ) ; padding : 5 px ; z-index : 1 ; } . dropdown : hover . dropdown-content { display : block ; } And the HTML structure looks like HTML ...

HTML tables , colspan, rowspan , caption and much more

Tables are one of the best element came with html5. We use tables almost everywhere, from school homework to presentations, tables always have been of great importance. Tables can be created in html document using table tag  HTML < table border = "2" > < tr > < td width = "100" > cell </ td > < td width = "100" > cell </ td > < td width = "100" > cell </ td > </ tr > </ table > As you can see we added the container element table and in that we just coded another tag  <tr>  which means row. These tags add a table row in our table.  The  <td>  element adds table data in the row. We added the attribute named border in the table tag so to differentiate the table from other elements. We also added the attribute width to each table data element to make its width equal to 100px The above code will output this  cell cell cell A table header is defined w...

CSS animations , flying rocket and rotating cube.

Learning CSS ANIMATIONS CSS animations are great and always been attractive for everyone. Today here I am gonna teach you the animation in which a font-awesome rocket is flying between the clouds and also a 3D rotating cube with perspective. The rocket animation is 2D and made with the help of font-awesome and css transform property. You can download the source file of flying rocket by Here  . For the full tutorial Go to  Rocket animation css tutorial  . Download the source file of rotating cube by  Here  . For full tutorial go to  to this link  .