HTML – Subscript For a subscript we will use the <sub> tag, as you can see: HTML Code: <p>This is a <sub>subscript text</sub></p> Demo This is a subscript text Subscript – Practical applications The subscript tag, same as the superscript tag can be used at writing the mathematical expressions. Still, the place where we most …
HTML – Superscript To produce a superscript text we will use the <sup> tag. HTML<p>This text is <sup>exponential!</sup></p> Demo This text is exponential! HTML – Exponents We can use the <sup> tag to write mathematical expressions, as you can see: HTML3<sup>2</sup> = 9 <br /> 14<sup>x</sup> Demo 32 = 9 14x HTML – Footer notes The …
HTML – Preformatting When we write an HTML code in Notepad. we will use spaces, will press enters so we can orientate easier in searching of the mentioned part. A browser will interpret the code as a single line though, ignoring the spaces and ‘enters pulsations‘ mentioned above. For that we have the <pre> …
HTML – Code format The <code> tag allows you to format the text to make it be like old computer style. This offers a certain size and a certain distance specific to the computer code. HTML Code: <code>This text was formatted with the tag code.</code> Demo This text was formatted with the tag code. …
HTML – Italic This, same as the bold tag, is used to highlight certain terms or words, sometimes even an entire sentence. It is not indicated to abuse of its use though. To create this type of text we can use the followings: HTML Code: <i>Italic</i> Tag!<br /> <em>Emphasized</em> Tag!<br /> Demo Italic Tag! Emphasized Tag! …
HTML – Bold To get the bold text we will use the <b> tag. HTML Code: <b>This text is bold </b> Demo This text is bold HTML – Bold text – applications Generally, the bold text is used to emphasize certain words or certain terms in within a sentence. HTML Code: <p><b>Bold</b> text is useful to emphasize certain …
HTML – <div> tag The div tag is not more than a container for other tags. Here are some of the div’s attributes: id class title style height width The rest of the attributes are not usually used, their job is taken by the CSS. Here is an example of using the <div> …
HTML – <body> tag As we have mentioned earlier in another tutorial, the <body> tag is the one that contains everything that will be shown in a web page: tables, forms, paragraphs, photos and anything else. All this are entered between <body> and </body> tag. HTML – Attributes of the body tag leftmargin – establishes …
HTML – Javascript scripts JavaScript and Vbscript are often used in a HTML page code to give more interactivity to the page, or just for one of the many applications of these scripts. Using these scripts you can create interactiv animations for images, animated menus with amazing effects and so on. Also, one of …
HTML – Meta tags The meta tag is used to generate additional info to the search engine. These information will not be seen, unless the user will select view ‘Source’ from the ‘View’ menu where he will have access to the HTML part of the page. Meta keywords In the meta tag you …