How to identify the maxlength of HTML ID? [duplicate] - html

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
What is a practical maximum length for HTML id?
What abt the maximum length of the id we use in our html tags?
(eg ) like this how long we give it as the id name?

you can put to 10million character for the ID but it will be difficult to remember.
50 million makes the browser hang with the This script is taking a long time to complete message.
100 million it will kill the tab of your broswer.

Related

for security purpose i want to encode source code of my html page [duplicate]

This question already has answers here:
How to prevent your JavaScript code from being stolen, copied, and viewed? [closed]
(10 answers)
Closed 6 years ago.
i want to design my html page such that; if some body wants to copy my source code from browser it should appear as in encoded format.
Is it possible?
Thank you.
There are a lot of people who are afraid of copyright infringement, but as mplungjan said
If you put it on the web, it will be available to look at.
And that, unfortunately for you, is the case for every site from Google to Stack Overflow.
If there are any bad cases of your site being plagiarized you should think of suing.

How to markup an article update date? [duplicate]

This question already has answers here:
HTML5 published and modified time
(2 answers)
Closed 7 years ago.
I was reading on <article> and it seems that when you should use pubdate to mark up the published date of the article.
That's fine and all if you have published the article once and it was the permanent version of the thing.
However, what happens if you update the article? Is there a way to markup when it was updated? Should I use pubdate for updates too?
I'm not sure that's the case since it would mean machines won't be able to distinguish between when an article was created and when it was updated.
How do you markup the date an article was updated?
pubdate was removed from the HTML5-specs about 3 years ago.
Thus there are no rules or best practices for it... Just read about the < time > element instead:
http://html5doctor.com/time-and-data-element/
http://www.brucelawson.co.uk/2012/best-of-time/

What is the max length of page titles for SEO? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I would like to know the page title meta tag value limit according to the various search engines like Google, Bing, Yahoo, etc...
I don't want my users to write bunch of junk words in first, for example, 60 chars and give the needed info, which is important to the search engines, at the end. I need to prevent the important part of the title being chopped off by the search engines.
There are several questions which are not up to date for today. I would like to create a reference here with up-to-date info with your help.
Here is proper article for you.
Optimal Length for Search Engines Google typically displays the first
50-60 characters of a title tag, or as many characters as will fit
into a 512-pixel display. If you keep your titles under 55 characters,
you can expect at least 95% of your titles to display properly. Keep
in mind that search engines may choose to display a different title
than what you provide in your HTML. Titles in search results may be
rewritten to match your brand, the user query, or other
considerations.
Hope it will help.

Which data type for HTML? [duplicate]

This question already has answers here:
Storing HTML in MySQL: blob or text?
(2 answers)
MySQL: Large VARCHAR vs. TEXT?
(9 answers)
Closed 9 years ago.
I would like to store HTML in my database, what field type would you recommend?
VarChar
Blob
Text
The HTML will vary in length depending on the row.
for this task i recommend storing your html in files and in the database use varchar(255) for file path.
Text, since HTML is, after all, text. What’s it’s MIME type? text/html.

What does "a framework with a small footprint" mean? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
What is meaning of small footprint in terms of programming?
CodeIgniter is right for you if...
You want a framework with a small footprint.
What does that mean?
It means the size of the framework, as in disk space, is small