Nancy Den has Published 330 Articles

Flip Animation Effect with CSS

Nancy Den

Nancy Den

Updated on 16-Mar-2020 08:16:47

239 Views

An Element can turn over or cause to turn over with a sudden quick movement.ExampleLive Demo                    .animated {             background-image: url(/css/images/logo.png);             background-repeat: no-repeat;             ... Read More

Bootstrap 3 truncate long text inside rows of a table in a responsive way with HTML

Nancy Den

Nancy Den

Updated on 04-Mar-2020 06:42:40

735 Views

To truncate long texts inside rows of a table, use the following CSS −.table td.demo {    max-width: 177px; } .table td.demo span {    overflow: hidden;    text-overflow: ellipsis;    display: inline-block;    white-space: nowrap;    max-width: 100%; }The following is the HTML −    This is demo text ... Read More

Execute a script when a context menu is triggered in HTML5?

Nancy Den

Nancy Den

Updated on 03-Mar-2020 12:33:09

111 Views

Use the contextmenu attribute in HTML5 to execute a script when a context menu is fied. A context menu generates when a user right-clicks. ExampleYou can try to run the following code to implement contextmenu attribute −           HTML menuitem Tag                        Right click inside here....                                                                              

How to include the audio/video controls in HTML?

Nancy Den

Nancy Den

Updated on 03-Mar-2020 09:38:51

380 Views

Use the controls attribute in HTML to include audio/ video controls in HTML.ExampleYou can try to run the following code to implement the controls attribute −           HTML video Tag               Online Compiler                                This browser doesn't support video tag.          

How to Create a Simple Program in C++?

Nancy Den

Nancy Den

Updated on 26-Feb-2020 10:54:10

150 Views

To get a very simple program in C++, you'll first need to set it up and then create programs for it. The following steps list how to get started in C++ using a very simple program.Get a C++ CompilerThis is the first step you'd want to do before starting learning ... Read More

How to use GoJS HTML5 Canvas Library for drawing diagrams and graphs?

Nancy Den

Nancy Den

Updated on 25-Feb-2020 07:01:47

355 Views

GoJS is a JavaScript library, which you can use to implement interactive diagrams. This page will show you the essentials of using GoJS. If you want to add diagrams and graphs, then use this library, which is Open Source.GoJS has a model-view architecture, in which Models holds arrays of JavaScript ... Read More

default access modifier in Java

Nancy Den

Nancy Den

Updated on 24-Feb-2020 12:31:33

4K+ Views

Default access modifier means we do not explicitly declare an access modifier for a class, field, method, etc.A variable or method declared without any access control modifier is available to any other class in the same package. The fields in an interface are implicitly public static final and the methods ... Read More

Scope resolution operator in C++

Nancy Den

Nancy Den

Updated on 11-Feb-2020 06:00:07

6K+ Views

The :: (scope resolution) operator is used to get hidden names due to variable scopes so that you can still use them. The scope resolution operator can be used as both unary and binary. You can use the unary scope operator if a namespace scope or global scope name is ... Read More

Why is sizeof() implemented as an operator in C++?

Nancy Den

Nancy Den

Updated on 11-Feb-2020 05:56:32

110 Views

sizeof is not a real operator in C++. It is merely special syntax that inserts a continuing equal to the size of the argument. sizeof doesn’t want or have any runtime support. Sizeof cannot be overloaded because built-in operations, such as incrementing a pointer into an array implicitly depends on ... Read More

Unary operator in C++

Nancy Den

Nancy Den

Updated on 10-Feb-2020 13:15:43

2K+ Views

Unary operator is operators that act upon a single operand to produce a new value. The unary operators are as follows:OperatorsDescriptionIndirection operator (*)It operates on a pointer variable and returns an l-value equivalent to the value at the pointer address. This is called "dereferencing" the pointer.Address-of operator (&)The unary address-of ... Read More

Advertisements