Possible Words Using Given Characters in Python

Pradeep Elance
Updated on 03-Mar-2020 06:11:04

899 Views

In this article we are going to see a python program that will give output of possible words from a given set of characters. Here we are taking a list as an input which will contain the set of reference words and another list containing the characters from which the words are made up of.In the below program, we define two functions. One to take the letters from the second list and make up words. Another function to match the words formed with the words present in the given list of words.Example Live Demodef Possible_Words(character):    x = {}    for ... Read More

Add NoFrame Section in HTML

radhakrishna
Updated on 03-Mar-2020 06:01:14

286 Views

Use the tag to add a noframe section. The HTML tag is used to handle the browsers which do not support tag. This tag is used to display an alternate text message.Example           HTML noframes Tag                                                 Your browser does not support frames.                    

Include Content for Non-Supporting Browsers of the Embed Tag in HTML

Srinivas Gorla
Updated on 03-Mar-2020 06:00:35

131 Views

The HTML tag is used to handle browsers which do not support the tag. The tag makes it easy to supply alternative content that tells users what they are missing.Example           HTML noembed Tag                                  

Add Bold Text in HTML

Nishtha Thakur
Updated on 03-Mar-2020 05:58:35

2K+ Views

To display bold text, use the tag. The HTML tag is used for emphasizing an important text.ExampleYou can try to run the following code to implement tag in HTML −           HTML strong Tag               This is an important text    

Embed Audio in Web Pages using HTML5

Giri Raju
Updated on 03-Mar-2020 05:57:56

419 Views

Use the tag to embed audio in a web page in HTML5. You can try to run the following code to implement tag −Example           HTML audio Tag               Click on Play button...       (Song: Kalimba which is provided as a Sample Music in Windows)                          

Create Hyperlink to Link Another Document in HTML

Chandu yadav
Updated on 03-Mar-2020 05:50:20

3K+ Views

Use the tag to create a hyperlink. The HTML tag is used for creating a hyperlink either to another document, or somewhere within the current document.The following are the attributes −AttributeValueDescriptionCharsetcharacter_encodingDefines the character encoding of the linked document.Cordsif shape = "rect" then coords = "left, top, right, bottom"if shape = "circ" then coords = "centerx, centery, radius"if shape = "poly" then coords = "x1, y1, x2, y2, .., xn, ynSpecifies the coordinates appropriate to the shape attribute to define a region of an image for image maps.downloadfilenameThis downloads the target when user clicks on the hyperlink.HrefURLSpecifies the URL ... Read More

Declare a Class and an Interface in JShell in Java 9

raja
Updated on 03-Mar-2020 05:46:13

396 Views

JShell can provide an interactive shell for quickly prototyping, debugging, and learning Java and Java API without the need for the main() method or need to compile our code before executing it.Declaration of Class:We can declare a class just like we have written a code in Java Language. The JShell can detect when the class completes it.In the below code snippet, we can declare a class Employee with two parameters and one method.C:\Users\User>jshell | Welcome to JShell -- Version 9.0.4 | For an introduction type: /help intro jshell> class Employee { ...>       String empName; ...>       ... Read More

Execute a Script When a User Releases a Key in HTML

Govinda Sai
Updated on 03-Mar-2020 05:38:42

162 Views

Use the onkeyup attribute. The onkeyup attribute triggers when the user releases a key.ExampleYou can try to run the following code to execute a script on releasing a key −           Press a key inside the textbox.                      function display() {             alert("You released a key!");          }          

Create a Paragraph with Right-to-Left Direction in HTML5

Arjun Thakur
Updated on 03-Mar-2020 05:38:02

371 Views

Use the dir attribute in HTML to set a paragraph with right-to-left direction. Add the value rtl to the dir attribute for the text to be placed from right-to-left.ExampleYou can try to run the following code to implement dir attribute −           This is demo paragraph. This is demo paragraph.          This is demo paragraph. This is demo paragraph. This is demo paragraph.          This is demo paragraph. This is demo paragraph.    

Create Context Menu for an Element in HTML5

Ramu Prasad
Updated on 03-Mar-2020 05:36:48

571 Views

Use the contextmenu attribute in HTML5 to create a context menu for an element. A context menu generates when a user right-clicks. ExampleYou can try to run the following code to create a context menu −           HTML menuitem Tag                        Right click inside here....                                                                              

Advertisements