Common HTML tags for fast copy-paste

Submitted by html_freak on Thu, 06/11/2009 - 21:31

Every webmaster needs some common html tags like a,table,img,div,headings or embed code for windows media player or adobe(formerly macromedia) flash very often. Mostly it is possible to save much time to just easily copy-paste empty tags instead of write them. Therefore I am trying to create a useful list with possible examples. Feel free to add suggestions with examples.

Easy access webpage

Submitted by Anonymous (not verified) on Wed, 06/10/2009 - 12:12

I am a complete Webpage design novice & want do as little webpage design as poss.
& avoid HTML text writing , so finding an attractive & suitable already established template
is the way forward.

Ive started with WordPress as it was offered by my hosting company.
Problem is it’s a bit limited in being able to directly interact with your webpage.

In my ideal scenario I have a webpage using a pre-designed template
which I can log onto as Administrator,
edit format , text , links , adjust colours , , grids …whatever in a photoshop type way ,

.htaccess examples

Submitted by Anonymous (not verified) on Wed, 06/10/2009 - 01:40

redirect url with parameters

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{QUERY_STRING} url_get_parameter_1=(.*)&url_get_parameter_2=(.*)
RewriteRule ^your/old/directory/file$ your/new/path/%1/%2 [R=301,L]

This code redirects :

example.com/your/old/directory/file?url_get_parameter_1=ALBUMS&url_get_parameter_2=HOLIDAY

to

example.com/your/new/path/ALBUMS/HOLIDAY

Force files to download (not be displayed in client/browser)


E-Mail validation with Java and regular expressions (regex)

Submitted by rex on Mon, 06/08/2009 - 23:53

With a few lines of code you can check if an E-Mail address ist valid or not. The most import part ist our pattern:

String pattern = "([a-z0-9_.-]+@[a-z0-9-]+\\.[a-z]{2,6})";

import java.util.regex.*;

public class EmailCheck {

	public static void main(String[] args) {

		String eMail = "youremailyoursite.com"; 
		
		String pattern = "([a-z0-9_.-]+@[a-z0-9-]+\\.[a-z]{2,6})";
		if(eMail.matches(pattern)){
			System.out.println("Your E-Mail address is valid");
		}else{
			System.out.println("You entered a not valid E-Mail address");
		}

	}

}

The account provided is ineligible for use with the option below. Please select another option.

Submitted by Anonymous (not verified) on Mon, 06/08/2009 - 23:00

Hello I want to transfer a domain to another account under Godaddy but I get this error: "The account provided is ineligible for use with the option below. Please select another option. " It is an existing -new- account. Why cant I change account owner/registrar easily? What is the reason for this error?

Internet for Beginners

Submitted by Anonymous (not verified) on Wed, 06/03/2009 - 00:05

I am going to give an internet/computer course for beginners. What are the most important points for newbies? What should an internet user know? Feel free to add your comments.

What is Internet (history, standarts, html, ...)

what is a search engine (google, yahoo, live, dmoz)

what is e-mail (webmail, popmail)

what is an instant messenger and how to use it (msn, yahoo messenger, icq, gtalk, skype)

what is a forum and how to use bulletin boards

what is a blog and how to open your own blog (wordpress, blogger)

Where can I sell my digital photos?

Submitted by Anonymous (not verified) on Sun, 05/31/2009 - 20:43

Hello
I am not a professional photographer but I want to sell some pictures online. I have no experience and I dont know where to start. I also dont know what are the requirements.

Where can I sell my photos?

How does it works?

Can I use normal digital cameras for digital photography? ie something around 5megapixel, 5mpx, 7mp etc.

How can I protect my images that not beeing stolen.

What kind of photos are the bestseller?