just wanna see your technique

+1 danial saufi · March 29, 2015
hi can some of u post any even a basic html website with ur css and html codes.. i just wanna see how ur technique in writing html and css thats all. and also do you hard code or use something that helps u code?? any suggestion

Post a Reply


Oldest  Newest  Rating
+2 Altaf Husain Neva · March 29, 2015
As a beginner you should always hard code so that all tags and keywords are remembered. After u get hand over it you should use some IDE for quick coding.
Anyways here is one of the example of my coding. Am also beginner so who so ever here finds any mistakes or want to give some suggestion than most welcome.

example of CSS

* {
font-family: arial,sans-serif;
body {
border:2px solid #009688;
li {
a {
*:focus {
outline:1px solid #009688;
::-moz-selection { /* Code for Firefox */
    color: white;

::selection {
    color: white;

HTML code here

<!DOCTYPE html>
<title> Login </title>
<link rel="stylesheet" href="includes/main_style.css" >
<body class="login-box">
<form action="" method="POST" class="login-form">
<ul class="form-list">
<div class="label-block"> <label for="login:username">Username</label> </div>
<div class="input-box"> <input type="text" id="login:username" name="txtUsername" placeholder="Username" /> </div>
<div class="label-block"> <label for="login:password">Password</label> </div>
<div class="input-box"> <input type="password" id="login:password" name="txtPassword" placeholder="Password" /> </div>
<div class="label-block"> <label for="login:type">Login Type</label> </div>
<div class="input-box">
<select name="login_type" id="login:type">
<option value="" disabled selected>-- Select Type --</option>
<option value="retailer">Retailer</option>
<option value="manufacturer">Manufacturer</option>
<option value="admin">Admin</option>
<input type="submit" value="Login" class="submit_button" /> <span class="error_message"> <?php echo $loginErr; echo $reqErr; ?> </span>
+1 Altaf Husain Neva · March 29, 2015
@Raahim papa agar kuch nahi aata to sikhege kaise?? Ab isi liye to yaha pe logo se madad maagte firte hai ke kuch sikha do, hamari galtiya sudhaar do... Ab PAPA nahi sikhayege to bache ko kisi aur ke saamne hath to phailana hi padega na :P ;)
0 danial saufi · March 29, 2015
+atlaf husain neva one thing i dont understand is the php.. what does it mean by server side? like i hear people saying the code will execute at the server and the results will be sent...  so does that mean theres a php file in the server? i still dont quite understand that yet
0 Gurpinder Singh · March 29, 2015

I need help.

I was watching bucky's 10th video in C.

How to get age in decimal.



after compiling it says- "ben can date girls 17 or older.
but it should say 17.5 
when i use float its age becomes 0.
so can anybdy plz tell me what is happening and what to do to get it right 
0 Altaf Husain Neva · March 29, 2015
@daniel yeah ofcourse PHP files are located at server. When user sends the request than it performs operation according to the request and than send back the response in the form of HTML as web browser can only understand HTML and not PHP or VB.. You need to search about Client-Server Architecture and you will get whole process.
0 Altaf Husain Neva · March 30, 2015
Use float datatype in girlage and pass AGE as a Float value like 21.5 

#define AGE 21.5

float girlage;
girlage = (AGE/2 +7);

Read more about implicit and explicit type conversion in C and you will get it
  • 1

HTML / CSS / Web Design


Discuss, share, ask, learn and teach HTML5 and CSS3.