Category Archives: Uncategorized

Resepi Puding Roti

Bahan Bahan Bahagian A Roti 8 keping Sekotak kismis Bahagian B 3 cawan susu segar 2 biji telur 4 sudu gula 2 sudu mentega Bahagian C (sos kastad) 1 tin susu cair 4 sudu gula. 3/4 cawan air 2 sudu … Continue reading

Posted in Uncategorized | Leave a comment

JavaScript Form Validation

<!DOCTYPE html> <html> <head> <script> function validateForm() { var x = document.forms[“myForm”][“fname”].value; if (x == “”) { alert(“Name must be filled out”); return false; } } </script> </head> <body> <form name=”myForm” action=”/action_page.php” onsubmit=”return validateForm()” method=”post”> Name: <input type=”text” name=”fname”> <input … Continue reading

Posted in Uncategorized | Leave a comment

JavaScript Output

Using innerHTML To access an HTML element, JavaScript can use the document.getElementById(id) method. The id attribute defines the HTML element. The innerHTML property defines the HTML content: <!DOCTYPE html> <html> <body> <h2>My First Web Page</h2> <p>My First Paragraph.</p> <p id=”demo”></p> … Continue reading

Posted in Uncategorized | Leave a comment

HTML Responsive Web Design

What is Responsive Web Design? Responsive Web Design is about using HTML and CSS to automatically resize, hide, shrink, or enlarge, a website, to make it look good on all devices (desktops, tablets, and phones).

Posted in Uncategorized | Leave a comment

HTML Styles

HTML Background Color <!DOCTYPE html> <html> <body style=”background-color:powderblue;”> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html> HTML Text Color <!DOCTYPE html> <html> <body> <h1 style=”color:blue;”>This is a heading</h1> <p style=”color:red;”>This is a paragraph.</p> </body> </html> HTML Fonts <!DOCTYPE … Continue reading

Posted in Uncategorized | Leave a comment

Hello world!

Welcome to People@UTM. This is your first post. Edit or delete it, then start blogging!

Posted in Uncategorized | Leave a comment