BASIC HTML

Hello, peeps! Welcome to our blog and thanks for reading our first post :3

The existence of this blog is for us to update what we have learned from our previous lessons in class (Computer in Science)

So, for today's post, we are just gonna briefly explain about HTML and web page design.


WHAT IS HTML?

HTML is the abbreviation of "Hyper Text Markup Language". It is basically a computer language that was created to be used as a web page design. The webpage can be accessed on the Internet.


HOW DOES IT WORK?

HTML has text mixed with markup tags.

For example:
<h1>Introduction</h1>

HTML has many elements with their own specific tags for specific funtion.


HTML HEADING

HTML headings are defined with the <h1> to <h6> tags. Actually up to any number, but the smaller the number, the more important the heading; and the bigger the number, the less important the heading.

Example:
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>

OTHER BASIC HTML TAG

 From what we understand the most basic ones are
HTML format = <HTML> 
Main Body = <Body>
Paragraph and content = <P>

WRITING HTML CODE

We need to start it with <HTML>, and every code need to be close </HTML> for it to function

A simple example is given below:
<HTML>
<body>
<H1> My First Heading </H1>
<p> My first paragraph </p>
</body>
</HTML>
And that is how you publish heading and paragraph of simple webpage using HTML.


WHAT WE DO LAST TIME IN CLASS

In our previous class, we learned on making tables using HTML, here are what we had done...

TABLE;
<html>
<body>
<h4>With cellpadding:</h4>
<table border="1"
cellpadding="10">
<tr>
 <td>HOD</td>
 <td>Name</td>
 <td>Photo</td>
</tr>
<tr>
 <td>Bioscience</td>
 <td>Dr.Suhaili</td>
 <td>Image</td>
</tr>
<tr>
 <td>Chemistry</td>
 <td>Dr.Wan Azmi</td>
 <td>Image</td>
</tr>
<tr>
 <td>Marine</td>
 <td>Dr.Nur Nazifah Binti Mansor</td>
 <td>Image</td>
</tr>
<tr>
 <td>Cts</td>
 <td>Dr.Mimi Hafizah</td>
 <td>Image</td>
</tr>
<tr>
 <td>Physics</td>
 <td>Dr.Zamzuri</td>
 <td>Image</td>
</tr>
<tr>
 <td>Plant</td>
 <td>Dr.Rozilawati Shaari</td>
 <td>Image</td>
</tr>
</table>

<h4>Without cellpadding:</h4>
<table border="1">
<tr>
 <td>Kulliyyah</td>
 <td>Name</td>
 <td>Dean</td>
 <td>Photo</td>
<tr/>
<tr>
 <td>KOS</td>
 <td>Prof Kamarulzaman</td>
 <td>Dean</td>
 <td>Image</td>
</tr>
</table>

</body>
</html>

We made 2 table, one with cellpading and one without cellpading. 
----------------------------------------------------------

Another thing is that we also had made a page that contains pictures.
This is our input...

IMAGE;
<html>
<body>
<p>
An Image of Nekos:
</p>
<p>
<img src="https://i.ytimg.com/vi/XwVzSa_TL90/maxresdefault.jpg" alt="Groups of Nekos XD" width="350" height="350" />

</p>
<p>
A Moving Image:
</p>
<p>
<img src="http://www.newopticalillusions.com/wp-content/uploads/2015/06/Moving-Tunnel.gif" alt="Spiralll~" width="250" height="250" />
</p>
</body>
</html>
We put an still image, an also a moving image
---------------------------------------------------------------

Finally we also did a little about HTML that have orderly listed item and unorderly listed item.
Here what we did...

LIST;
<html>
<body>

<h2>Disc bullet list: </h2>
<ul type = "disc">
<li> Apples </li>
<li> Bananas </li>
<li> lemons </li>
<li> Oranges </li>
</ul>
<h4>Letters list:</h4>
<ol type="A">
<li> Apples </li>
<li> Bananas </li>
<li> lemons </li>
<li> Oranges </li>
</ol>
<h4>A nested List:</h4>
<ul>
<li>coffee</li>
<li>Tea
<ul>
<li>Black Tea</li>
<li>Green Tea</li>
</ul>
</li>
<li>Milk</li>
</ul>

</body>
</html>
And that is it for our first post, we will see what would come out next okay 😌

Comments

Popular posts from this blog

HISTORY OF THE INTERNET

Cara nukarin 32 bit kepada dot desimal

Python... Python... Part 1