Monday, December 12, 2011

How Do I start with creating HTML?

I like to customize my laptop but i can't seem to get it with html.How Do I start with creating HTML?
You can't customize your laptop with HTML. You'll need programs to do that.



For Windows, I recommend WindowBlinds

For Mac, I recommend ShapeShifterHow Do I start with creating HTML?
Thanks!

Report Abuse


go to this website... it will show you all the basics of HTML



http://www.w3schools.com/html/default.as
HTML Beginner Tutorial

http://htmldog.com/guides/htmlbeginner/

How do i get 2 images to switch positions upon mouse over using html?

how can i get 2 images to swap positions with either other one of the left, the other to the right using html?How do i get 2 images to switch positions upon mouse over using html?
%26lt;img id=';left'; src=';left.jpg'; onmouseover=';moveImage()'; alt=';'; /%26gt;


%26lt;img id=';right'; src=';right.jpg'; onmouseover=';moveImage()'; alt=';'; /%26gt;





%26lt;script type=';text/javascript';%26gt;


function moveImage() {


var left = document.getElementById( 'left' );


var leftsrc = left.src;


var right = document.getElementById( 'right' );


var rightsrc = right.src;





right.src = leftsrc;


left.src = rightsrc;


}


%26lt;/script%26gt;How do i get 2 images to switch positions upon mouse over using html?
I believe you have to use JavaScript for that. That's the only way I've done it before. It's been years since I dabbled in that - so do a web search for Javscript image rollovers and you should find some tutorials - fairly easy to do if you are already proficient at updating your HTML files (the JavaScript is inserted into your HTML) and managing files on your server.
Not with pure HTML. You would have to use something like JavaScript to achieve this:





Once you have assembled your images, place this JavaScript onto your page. You should put it in the %26lt;head%26gt; of the document, so that it is already working before it has a chance to be called.





Code for %26lt;head%26gt;:





%26lt;script type=';text/javascript';%26gt;


var revert = new Array();


var inames = new Array('smirk');





// Preload


if (document.images) {


var flipped = new Array();


for(i=0; i%26lt; inames.length; i++) {


flipped[i] = new Image();


flipped[i].src = ';media/';+inames[i]+';2.gif';;


}


}





function over(num) {


if(document.images) {


revert[num] = document.images[inames[num]].src;


document.images[inames[num]].src = flipped[num].src;


}


}


function out(num) {


if(document.images) document.images[inames[num]].src = revert[num];


}


%26lt;/script%26gt;











Now we just need to add the images. This is done like any other image, but with some extra JS attributes thrown in:





%26lt;img src=';media/image.gif'; name=';image'; onMouseOver=';over(0)'; onMouseOut=';out(0)';%26gt;











This HTML creates the image. The script will then wait for the user to trigger it. The onMouseOver event handler 鈥榣istens鈥?for certain user actions; in this case their mouse passing over the image. When this happens it fires the over function, and sends the image鈥檚 number along with it. It鈥檚 the first rollover image on the page so it sends a 0. The second image would send a 1 etc. Always remember, the first object in an array is numbered with a zero.





When the user鈥檚 mouse moves away from the image again, onMouseOut notices and fires out, again adding in the image鈥檚 number so the function knows which image it has to work on.





The name attribute we add to our images should be exactly the same as the names we gave the image in the inames array in the script. This is used to construct the rolled-over image鈥檚 filename. If we call our first image image, as I have done, the script decides that the corresponding rolled-over filename will be media/image2.gif. The initial image can be called anything you want, but it would be a good idea to name it similarly to the second, ending with a 1.



%26lt;script type=';text/javascript';%26gt;


%26lt;!--





var image1 = new Image();


image1.src = ';moveup.gif';;


var image2 = new Image();


image2.src = ';movedown.gif';;


var image3 = new Image();


image3.src = ';an1.gif';;


var image4 = new Image();


image4.src = ';an2.gif';;





//--%26gt;


%26lt;/script%26gt;



































%26lt;script type=';text/javascript';%26gt;


%26lt;!--





function roll(img_name, img_src)


{


document[img_name].src = img_src;


}





//--%26gt;


%26lt;/script%26gt;











%26lt;a href=';somewhere.html';


onmouseover=';roll('sub_but', 'movedown.gif')';


onmouseout=';roll('sub_but', 'movetup.gif')';%26gt;





%26lt;img src=';moveup.gif'; width=';143'; height=';39'; border=';0';


alt=';Move your mouse over me'; name=';sub_but'; /%26gt;





%26lt;/a%26gt;











%26lt;script type=';text/javascript';%26gt;


%26lt;!--





function roll(img_name1, img_src1, img_name2, img_src2)


{


document[img_name1].src = img_src1;


document[img_name2].src = img_src2;


}





//--%26gt;


%26lt;/script%26gt;











%26lt;a href=';somewhere.html';


onmouseover=';roll('sub1', 'movedown.gif', 'sub2', 'an1.gif')';


onmouseout=';roll('sub1', 'moveup.gif', 'sub2', 'an2.gif')';%26gt;





%26lt;img src=';moveup.gif'; name=';sub1'; width=';143';


height=';39'; border=';0'; /%26gt;


%26lt;/a%26gt;





%26lt;img src=';an2.gif'; name=';sub2'; width=';143'; height=';39'; /%26gt;



How to make a form using HTML/PHP with conditional responses that are based on selection?

How to make a form using HTML/PHP with conditional responses that are based on selection? For instance: drop down menu selections that determine the message on the confirmation screen.How to make a form using HTML/PHP with conditional responses that are based on selection?
Alright - as the first person stated: It will take a bit more code than anyone really has time to put in here, but this should get you started:



HTML FORM:

%26lt;form action=';submit.php'; id=';test';%26gt;

聽聽%26lt;select id=';cars';%26gt;

聽聽聽聽%26lt;option value=';volvo';%26gt;Volvo%26lt;/option%26gt;

聽聽聽聽%26lt;option value=';saab';%26gt;Saab%26lt;/option%26gt;

聽聽聽聽%26lt;option value=';mercedes';%26gt;Mercedes%26lt;/option%26gt;

聽聽聽聽%26lt;option value=';audi';%26gt;Audi%26lt;/option%26gt;

聽聽%26lt;/select%26gt;

%26lt;input type=';submit'; value=';Submit'; /%26gt;

%26lt;/form%26gt;



There's a simple form with a selection box with cars in it. Simple, right? Good!



PHP SCRIPT, file name: submit.php

%26lt;?php

if ( isset ( $_POST['test'] ) ) {

聽聽$car = $_POST['cars'];

聽聽if ( isset ( $car ) ) {

聽聽聽聽echo ';%26lt;p%26gt;You selected '; . $car . ';%26lt;/p%26gt;\n';;

聽聽}

聽聽else {

聽聽聽聽echo ';%26lt;p%26gt;No car selected!%26lt;/p%26gt;\n';;

聽聽}

}

?%26gt;



Like I said, this is a really basic example. I'd suggest learning more about PHP at the following:



http://www.phpro.org

http://www.w3schools.comHow to make a form using HTML/PHP with conditional responses that are based on selection?
Uh, that's an awful lot of programming for anyone to answer it simply here.



First, you need to learn how HTML forms work.



Then you need to learn how PHP can accept and handle data submitted by an HTML form.
You may like to take an html tutorial at

http://referencedesigner.com/tutorials/html/html_1.php

How to split a big html file into pages?

I have one html file with 73mb,i want to split this file into pages.

What's the best program ?

Something freeware.How to split a big html file into pages?
A 73mb html file would indicate that you are doing things so incredibly wrong, or incredibly different, that NO ONE can help you without knowing more about it.



And the gomers here who have tried (by suggesting things as hilarious as word...) just go to show you of how little use the answers that try will be.



Seriously, I have no clue what you are doing to accomplish such a thing...but it isn't right. God help the internet if you put that thing into production.



Just to give you an idea of why I'm being so blunt: I would say most of this to someone who said their web page was 5 freakin mb. Yours...well, yours is 15 times that. I'm astounded that you've gotten this far...



The only exception is if you are doing something VERY different from what we call ';web design';...like, you're creating a page to launch a space shuttle from or something.How to split a big html file into pages?
office word, pick whatever flavor will let you edit the webpages.
You use Dreamweaver.. It will help you...
Use the latest version of any major browser,

then open developer tools,

then cut copy paste to make smaller pages.



Copy the original file, then make 10 copies of it, if you plan to split into 10pages.

Then for each copy, open it then delete all but the content that should stay on that page number.



There simply isn't any automated tool for this because it's not common practice.



Your pages probably refer to alot of image, video , and sound data?

The html file alone isn't 75MB i bet.

Even if it is so, it should fit into memory no problem.

But I imagine scrolling through the page is a pain.

Good luck.
A single HTML file that is 73MB would seem to be storing your entire website in one file.

In all honesty, you can possibly use server side includes if your web hosting provider allows it (read up on that here: http://en.wikipedia.org/wiki/Server_Side or if you're using PHP, you can use the ';include'; directive (like this: include 'html_page2') to split it up into files however you want, and simply have one include another, which includes the next, etc.



This almost sounds like you have a video that you want to post to the web, is that true?
A 73mb file would be very big for html. Unless its a table generated from a database, or actually a pdf file, there is something wrong.



I don;t know of any program to split html, but there are many than can read in an html table (excel, access) and then generate reports also in html



Word can open html. Using macros or VBA one could probably create a separate html or DOC file for each page

How do you compose an HTML email in Outlook 2003?

I want to send an HTML email with graphics. I made the page in HTML already, with embedded graphics but am stuck. I changed Mail Format in Outlook to HTML, and sent a test email with the HTML code i made to my own account, but all i saw was the code, not the email/graphics.How do you compose an HTML email in Outlook 2003?
click on a link for more information below

http://office.microsoft.com/en-au/outloo

How can I change quickbooks from using PDF to a text or html format?

Rather than e-mail everything in PDF format I want to know if its possible to email it as a text, .doc, or an html view for customers. Is this even possible?How can I change quickbooks from using PDF to a text or html format?
use A pdf Convertor Softwares by the way pdf to text or Doc is simple just copy the texts from the pdf document and paste it in new word doc then save it
  • textbox
  • extension to sqltableprovider
  • Why are my html codes for notepad not working for my games?

    Ok, my friend taught me how to get games onto a notepad and save it as a .html and but it on a flash drive so I can play it at school. So I have the %26lt;html%26gt; and %26lt;/html%26gt; and the same for the head and body. I save the %26lt;object%26gt; to %26lt;/object%26gt; in the body section, but when I go to play it and allow it to open it doesn't pop up. Can someone help?Why are my html codes for notepad not working for my games?
    If your talking about flash games, you need to probably save the falsh file too. I am not entirely sure how your saving a game into notepad unless your actually saving the HTML of the page.



    I would recommend you try gettting a flash ripper at home.