Jump to content

random symbols while using html.

Go to solution Solved by givingtnt,
6 minutes ago, Versti said:

code:   


 


<!DOCTYPE html>
<html lang="ar" >
  <head> 
    <title>"تاسع "ج </title>
  </head>
  <body background="./bg.jpg">
    <h1 style="font-size:60px;">صف التاسع ج</h1>
    <h2>في هذه الصفحة سوف يتم وضع </h2>
    <ul>
      <h3><li>الوظائف</li></h3>
      <h3><li>مادة وتاريخ الامتحانات</li></h3>
      <h3><li>ايام العطل</li></h3>
<br />
    <p> ---------------------------------------------------------------------------------------------------------------------------------------------------- <p>
    </ul>
   <strong><a style="font-size:25px;" href="./wada2f.html" target="_blank"> الوظائف </a>
<br /><br/>
   <a style="font-size:25px;" href="./amt7anat.html" target="_blank"> مادة وتاريخ الامتحانات </a>
<br /><br/>
   <a style="font-size:25px;" href="./3tl.html" target="_blank"> ايام العطل </a><strong>
  </body>

its simple.. it's just the main "hub" page

add this after your <html> tag: 
 

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">

and where you put text, make sure to use the properties 

dir='rtl'
lang='ar'

 

so for example : 
 

<p dir="rtl" lang="ar" style="color:#e0e0e0;font-size:20px;"> رَبٍّ زِدْنٍي عِلمًا     </p>  

 

Decided to code a website for my classwhich would show homeworks,exams etc..

but after ive done coding its just showing random symbols such as: "ص٠التاسع ج"

the words are in arabic (because that's my main language)

is that making the problem? and how do i fix it, i tried doing <html lang="ar"> but it didnt work out.. please help.

Link to comment
https://linustechtips.com/topic/856947-random-symbols-while-using-html/
Share on other sites

Link to post
Share on other sites

code:   

 

<!DOCTYPE html>
<html lang="ar" >

  <head> 
    <title>"تاسع "ج </title>
  </head>
  <body background="./bg.jpg">
    <h1 style="font-size:60px;">صف التاسع ج</h1>
    <h2>في هذه الصفحة سوف يتم وضع </h2>
    <ul>
      <h3><li>الوظائف</li></h3>
      <h3><li>مادة وتاريخ الامتحانات</li></h3>
      <h3><li>ايام العطل</li></h3>
<br />
    <p> ---------------------------------------------------------------------------------------------------------------------------------------------------- <p>
    </ul>
   <strong><a style="font-size:25px;" href="./wada2f.html" target="_blank"> الوظائف </a>
<br /><br/>
   <a style="font-size:25px;" href="./amt7anat.html" target="_blank"> مادة وتاريخ الامتحانات </a>
<br /><br/>
   <a style="font-size:25px;" href="./3tl.html" target="_blank"> ايام العطل </a><strong>

  </body>

 

 

 

 

its simple.. it's just the main "hub" page

Link to post
Share on other sites

6 minutes ago, Versti said:

code:   


 


<!DOCTYPE html>
<html lang="ar" >
  <head> 
    <title>"تاسع "ج </title>
  </head>
  <body background="./bg.jpg">
    <h1 style="font-size:60px;">صف التاسع ج</h1>
    <h2>في هذه الصفحة سوف يتم وضع </h2>
    <ul>
      <h3><li>الوظائف</li></h3>
      <h3><li>مادة وتاريخ الامتحانات</li></h3>
      <h3><li>ايام العطل</li></h3>
<br />
    <p> ---------------------------------------------------------------------------------------------------------------------------------------------------- <p>
    </ul>
   <strong><a style="font-size:25px;" href="./wada2f.html" target="_blank"> الوظائف </a>
<br /><br/>
   <a style="font-size:25px;" href="./amt7anat.html" target="_blank"> مادة وتاريخ الامتحانات </a>
<br /><br/>
   <a style="font-size:25px;" href="./3tl.html" target="_blank"> ايام العطل </a><strong>
  </body>

its simple.. it's just the main "hub" page

add this after your <html> tag: 
 

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">

and where you put text, make sure to use the properties 

dir='rtl'
lang='ar'

 

so for example : 
 

<p dir="rtl" lang="ar" style="color:#e0e0e0;font-size:20px;"> رَبٍّ زِدْنٍي عِلمًا     </p>  

 

~New~  BoomBerryPi project !  ~New~


new build log : http://linustechtips.com/main/topic/533392-build-log-the-scrap-simulator-x/?p=7078757 (5 screen flight sim for 620$ CAD)LTT Web Challenge is back ! go here  :  http://linustechtips.com/main/topic/448184-ltt-web-challenge-3-v21/#entry601004

Link to post
Share on other sites

1 minute ago, givingtnt said:

add this after your <html> tag: 
 


<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">

and where you put text, make sure to use the properties 


dir='rtl'
lang='ar'

 

so for example : 
 


<p dir="rtl" lang="ar" style="color:#e0e0e0;font-size:20px;">رَبٍّ زِدْنٍي عِلمًا</p>

 

thank you so much, will try asap

Link to post
Share on other sites

3 minutes ago, givingtnt said:

add this after your <html> tag: 
 


<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">

and where you put text, make sure to use the properties 


dir='rtl'
lang='ar'

 

so for example : 
 


<p dir="rtl" lang="ar" style="color:#e0e0e0;font-size:20px;"> رَبٍّ زِدْنٍي عِلمًا     </p>  

 

That helps me to on a sorry if related topic. You're awesome

1 minute ago, Versti said:

it worked, tysm

Can he get credited for being mailed as solved?

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×