In this tutorial, you will learn How to display Hindi in the Website from Database(Tables)? If you want to create a website in Hindi language or want to write a paragraph in Hindi then you are in the right place. In this article, you will get all the information about writing and be storing Hindi in the table. I will be using PHP-MYSQL for creating a website.
While creating webpage you have to put below code in between <head> tag
<html> <title>Hindi Font</title> <head> <meta charset="UTF-8"> </head> <body> "Your hindi Fonts" </body> </html>
Now, if you are using a database to store Hindi value in tables then use this code to Modify your table to insert Hindi values :
ALTER TABLE 'your table name' MODIFY 'column name' VARCHAR(20) CHARACTER SET UTF8;
Done Your website is ready to use Hindi fonts. Share with your friends who are searching for how to display Hindi in HTML pages.
How to upload an Excel file in CodeIgniter?
Employee management system – PHP Projects
Hey there,
I have created a website in Hindi language, but not sure whether to change the Html lang tag from en-US to some Hindi attribute.
Is there a way to do so, and will it help?
Please provide a little guidance. Nonetheless, keep up the good work.
Like!! Thank you for publishing this awesome article.