Can a web page name start with a number?

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
alan_sh
 
 
Posts: 1898
Joined: Tue Jan 01, 2019 5:50 pm

Can a web page name start with a number?

Post by alan_sh »

Is there any reason why I cant have the name of a web page start with a number? e.g "1stmilnrow.html"

thanks

Alan
User avatar
BaconFries
 
 
Posts: 5978
Joined: Thu Aug 16, 2007 7:32 pm

Re: Can a web page name start with a number?

Post by BaconFries »

At onetime yes under the following https://www.rfc-editor.org/rfc/rfc952 but now under https://www.rfc-editor.org/rfc/rfc1123#page-13 there should be no issue. After all there is 1&1 IONOS
and 123-reg.co.uk both start with a number.
alan_sh
 
 
Posts: 1898
Joined: Tue Jan 01, 2019 5:50 pm

Re: Can a web page name start with a number?

Post by alan_sh »

OK - I'll carry on.

It's not actually the host name, but a web page name. I assume the same RFC covers that too.

Alan
User avatar
jerryco
 
 
Posts: 916
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Can a web page name start with a number?

Post by jerryco »

// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
Pablo
 
Posts: 23605
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Can a web page name start with a number?

Post by Pablo »

Although a page can start with a number, IDs and object names cannot start with a number because then styles and scripts may not work.
This also means that if you have enabled 'include page name in automatically generated ID attributes' and the page name starts with a number that the page may not be rendered correctly.
alan_sh
 
 
Posts: 1898
Joined: Tue Jan 01, 2019 5:50 pm

Re: Can a web page name start with a number?

Post by alan_sh »

Pablo wrote: Thu Feb 09, 2023 5:17 pm Although a page can start with a number, IDs and object names cannot start with a number because then styles and scripts may not work.
This also means that if you have enabled 'include page name in automatically generated ID attributes' and the page name starts with a number that the page may not be rendered correctly.
OK - I'll add a letter at the start, just in case.
Post Reply