Tables Attributes - Notes 1 Lyst5403
Tables Attributes - Notes 1 Lyst5403
Tables Contd…
We are aware of how to represent a data in tabular format. Now
let us take various scenarios and try to create different forms of
tables
Example: Create a table in the following format
Name Skills
James C Java HTML
Guido C++ Python PHP
Output:
Output:
Name Skills
James C Java HTML
Guido C++ Python PHP
Output:
Name Companies
Sun Microsystems
James Oracle
Liquid Robotics
Google
Guido Dropbox
Microsoft
Output:
Output:
Lists
In HTML we also have list type of data representation. HTML lists are
used to present list of information in well-formed and semantic way.
There are three different types of list in HTML and each one has a
specific purpose and meaning.
• Unordered list - Used to create a list of related items, in no particular
order.
• Ordered list - Used to create a list of related items, in a specific
order.
• Definition list – HTML also supports description lists. A description
list is a list of terms, with a description of each term.
Output:
As we can see from the above output, order does not matter the items
to prepare coffee can be in any order, but the steps to prepare matter.
Output:
Output:
Hyperlink
Links are found in nearly all web pages. Links allow users to click their
way from page to page. In every webpage there are certainwords or
section of content which on clicked on to directs you to a website.
These are called the hypertext. Hypertext is a text which contains link
to other texts. These texts are given links. Let us consider an example
and get more clarity
Example: To create a hypertext and link to website
Hypertext Hyperlink
Output:
Output:
Certainly the image is linked to the respective website you can try by
yourself and cross verify.
Example: Create the following table
• Java
1. Core Java
2. Advanced Java
3. J2EE
• Python
1. Core Python
2. Advanced Python
• C#
1. C# Core
2. .NET MVC
Output: