HTML – Input tag The input tag does not need an ending tag and can have numerous attributes: text password radio checkbox reset submit HTML – Text fields and passwords I am really sure that you have certainly hear a lot of, over the time, on the Internet. HTML<input type=”text” /><br /> <input …
HTML – Strikethrough The strikethrough text can be produced using the <del> tag. HTML Code: <p>This text is <del>cut</del>by a line !</p> Demo This text is cutby a line ! Striketrough – Applications This tag does not have to many applications, but we will try to exemplify its use by the following example: a shopping list …
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 …