Showing posts with label $htmlp. Show all posts
Showing posts with label $htmlp. Show all posts

How to make tables using HTML code

In HTML (Hyper Text markup Language), <table> tag is used to create tables. Table is basically meant to represent data in tabular form. But people also use tables to design webpages, especially when they want to divide the web pages into some equal blocks. Now we will start with the basics of table tag. The table starts with a <table> tag and ends with the HTML tag </table>. Whatever comes in between <table> and </table> is either the data in the table or further HTML codes to design the table. These two tags help only to inform the starting and ending of the table.

How to Display Mathematical Symblos, Greek Letters etc in HTML

When i was writing a post, i found it difficult to display some mathematical symbols in the post. At last, i solved it and found that there are easy to remember mnemonics for most of the symbols we come across. Sometimes you can get them only from the 'charmap' (enter charmap in 'Run' in your windows OS). There are escape sequences in HTML which will help you to include mathematical symbols and other Greek letters which are often used as variables or notation for some processes. To display these symbols in a webpage, simple mnemonics or corresponding code can be used. These informations are directly available in HTML4.0 website.


How To Make a Text Subscript or Superscript Using HTML Code

To make a text superscript or subscript in a webpage using HTML language, there are two tags provided in the language.

Superscript

To make a text or some characters superscript, the HTML tag <sup> is used. For example, suppose we have to display 2n+1. To display it, we have to use the following code:

2<sup>n+1</sup>

We have to enclose the characters to be made superscript in <sup> and </sup>