How to write welcome in bold and italics in HTML? <html> <head> <title> How to write welcome in bold and italics in HTML? <title> </head> <strong>Welcome</strong> or <b>Welcome</b> <em>Welcome</em> or <i>Welcome</i> </html> Output Welcome Welcome
How to use referrerpolicy Attribute value ( no-referrer-when-downgrade ) with < iframe > tag in HTML ? with example Referrerpolicy Attribute value ( no-referrer-when-downgrade ) in iframe Default. The referrer header will not be sent to origins without HTTPS. Example <html> <body> <h1>The iframe referrerpolicy attribute Example</h1> <iframe src="https://www.tech.thinkforu.org/" referrerpolicy=" no-referrer-when-downgrade "> </iframe> </body> </html>
Difference between Public vs Internal vs Private state variables in solidity programming langauge with example ? Public state variables can be accessed internally as well as via messages. For a public state variable, an automatic getter function is generated. Internal state variables can be accessed only internally from the current contract or contract deriving from it without using this. Private state variables can be accessed only internally from the current contract they are defined not in the derived contract from it. Example of Public vs Internal vs Private state variables pragma solidity ^0.5.0; contract C { uint public data = 30; uint internal iData= 10; function x() public returns (uint) { data = 3; // internal access return data; } } contract Caller { C c = new C(); function f() public view returns (uint) { ...
How to use < iframe > tag with referrerpolicy Attribute in HTML ? with example The referrerpolicy attribute specifies which referrer information to send when fetching an iframe. Example <html> <body> <h1>referrerpolicy attribute example</h1> <iframe src ="https://tech.thinkforu.org" referrerpolicy="no-referrer"> </iframe> </body> </html>
How to add Amazon website inside iframe? <!DOCTYPE html> <html> <body> <h1>HTML Iframes</h1> <p>You can use the height and width attributes to specify the size of the iframe:</p> <iframe src="https://www.amazon.com/" height="220" width="320" title="Iframe Example"></iframe> </body> </html>
Smart contract code for Anyone can send coins to each other without a need for registering with a username and password with help of Ethereum keypair The contract allows only its creator to create new coins (different issuance schemes are possible). Anyone can send coins to each other without a need for registering with a username and password, all you need is an Ethereum keypair. // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; contract Coin { // The keyword "public" makes variables // accessible from other contracts address public minter; mapping (address => uint) public balances; // Events allow clients to react to specific // contract changes you declare event Sent(address from, address to, uint amount); // Constructor code is only run when the contract // is created constructor() { minter = msg.se...
What is the syntax of ismap attribute with img tag in HTML ? Syntax <img ismap> Note: The ismap attribute is allowed only if the <img> element is a descendant of an <a> element with a valid href attribute.
How to use comments in Solidity programming language ? function getResult() public view returns(uint) { // This is a comment. It is similar to comments in C++ /* * This is a multi-line comment in solidity * It is very similar to comments in C Programming */ uint a = 1; uint b = 2; uint result = a + b; return result; }
Comments
Post a Comment