am new to php
any one know about to display dynamic title per pageand also to display meta keywords and description.how to do that please give some idea or you have any codes share with me
malatamil
9
Junior Poster
Recommended Answers
Jump to PostYou can change the title by setting 'document.title'.
To change the <meta> tags, you'll probably have to use document.getElementsByTagName('meta') and check the 'name' attribute for 'description' and 'keywords', but I can't think of any reason why you'd ever want to do it with JavaScript. Neither users nor the search engines …
All 4 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.