How can you make an html link that executes a javascript injection?

Thursday, January 21st, 2010

If it’s possible?

You use the "<a href=…" tag in html to link to a website.
You can type into the url bar something like "javascript:alert(’Hello!’);" to do a javascript injection.

How would you make a link in a web page that when you click on it, it does the javascript command?
Effectively <a href="javascript…">, except that obviously doesn’t work.

Thanks!

<a href="javascript:void(0)" onClick="Javascript:alert( ‘Hello!’ );">Text</a>

Technorati Tags: , , , , , , , , , , , ,

How do I edit our company’s web page if I don’t have the website (index.html) file on my computer?

Wednesday, January 20th, 2010

Our company had another business here in town create our website, but they are no longer in business. We want to update our site, but how do I go about doing that without having the original file(s) on our computer? I know the ftp site, but that’s about all!

Any help at all would be great!

Hi,

It’s quite an easy task. – But admittedly, it can be quite daunting if your not really into all that.

You need a program that you can access your FTP with, something like CuteFTP is perfect. Alternatively, use dreamweaver’s FTP settings.

Once you have the sites FTP details (Username + password) you will need to download the whole site onto your computers. (when I say whole site, i mean everything that resides in what is usually called the ‘public’ folder. Or sometimes ‘content’.

Once you have that, you can made the changes to the html pages, and then replace your new pages over their older counterparts.

I’m an online marketing exec myself so I do this all the time. – If you need any more help, just comment and I’ll be able to help…

Technorati Tags: , , , , , , , , , , , ,

What is Browser Incompatibility? How it can be handled using XHTML and CSS?

Wednesday, January 20th, 2010

What is Browser Incompatibility? How it can be handled using XHTML and CSS?

Browser incompatibility is a term used mostly when you have a portable device with internet capabilities, such as cell phones and Black Berries, that are having trouble accessing a web page; usually because it was created with regular HTML, not xhtml.

The only real difference between XHTML and html is XHTML’s designed for small portable devices and small stripped down browsers. Most web designers use XHTML nowadays because it is considered the more advanced way. HTML still works fine though.

Everything written above can easily be learned from Google.

A good site is: http://laurasbasicstowebdesign.com/webdesignblog/

Technorati Tags: , , , , , , , , ,

What is the HTML code to display text without further page loading?

Wednesday, November 18th, 2009

I have seen some sites with something written like this "show details" or "Review" etc.. When we click on it some text gets displayed without loading the web page… Can anyone tel me the html code to do it?

its simple linking!
web page with a links saying "show details" or "Review" are simply linked to a new web page similar to that you were on so that you feel that the rest of the text just popped out of nowhere when you clicked on the link or button but its a whole new page.
hope i solved your problem.

Technorati Tags: , , , , , ,

What simple html code can put my recent wordpress blog entries on my web page, newspaper style?

Tuesday, November 17th, 2009

What simple html code can put my recent wordpress blog entries, titles and dates, on my web page, newspaper or any other style?

No html code, because HTML just sites there, it doesn’t do anything. Some Javascript to pull your blog’s RSS could do it – just look for Javascript RSS reader code. Newspaper style or any other style is up to the code you write.

Technorati Tags: , , , , ,

How to make different pictures using HTML format in web designing?

Sunday, November 15th, 2009

I want the html format for making different pictures,can u please tell me some formats for making nice pictures for website???

Pictures in html are all handled using the <img statement.

If you want other graphics effects, use css: for example, usually background-image: url(’something.jpg’) for something in your web page (a paragraph or a banner or an address or another part of your web page.

You can also use css to specify list-style-image: url(’something.jpg’) to display icons instead of dots for a list.

Some other css items allow you to display images on your html page. Check it out.

Technorati Tags: , , , , , , , , , , , , , , , ,

What are the differences between printing an html and a pdf document?

Wednesday, November 11th, 2009

I am writing a research paper and html and pdf documents have different citations. I can’t remember which I used when I printed my resources. It gave me both options.

html documents are essentially the information that is put on the Internet to create a web page. PDF documents are saved from other software programs to create an easily readable document.

HTML is a set of codes that makes what you see on the internet readable. It lives on the web — in other words it is used only on the internet.

But PDF documents can be saved from Word files, Excel files, InDesign files, etc., and they are independent of the internet. You can make a finished PDF file without using the internet. When they are uploaded to the internet, it’s a file, just like a jpg image or a Word file. When you download them to read, you are getting a PDF file that can be saved and printed or sent somewhere else as is.

In terms of citing your sources, I’m not certain. I would guess that if you copied the information straight off the webpage, that would be cited as HTML, (which you would have had to put into a Word file or saved to other software, but if you downloaded a PDF file that you saved to your computer, you would cite it as a PDF.

Technorati Tags: , , , , , , , , , , , , , , , , , , ,

How to redirect an HTML website index?

Friday, November 6th, 2009

I want to redirect my web page that doesnt have a cpanel, only ftp and html files. How can I do that?

Add this to the head section of your index page:

<script>
window.location="http://example.com"
</script>

Where example.com is the url of the site you are redirecting to.

Technorati Tags: , , , , , , ,

HTML TUTORIAL – Learn about the HEAD Tag in 5 Minutes

Friday, November 6th, 2009

http://www.rickcable.com/blog/default.asp?Display=7 – This is a great tutorial if your new to html all about the HTML HEAD tag. Explains what it is, when to use it and what other tags are commonly found inside it and what they mean in plain english.

Duration : 0:7:52

(more…)

Technorati Tags: , , , , , , ,