搜尋 Mozilla 技術支援網站

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

HTML tags not showing correctly on the firefox browser.

  • 3 回覆
  • 1 有這個問題
  • 14 次檢視
  • 最近回覆由 sami.zeklab

more options

Hello Firefox, this is the HTML tags. Show the image That i attached and see what is the difference.


<title>Quiz1</title> <style> body{ background-color: yellow; font-family: simsun; font-size: 200%;} ol{ color: red; font-family: Verdana; font-size: 100%; background-color: skyblue; } ul{ color: gray; font-family: 'Courier New'; font-size: 100%; background-color: pink; } dl{ color: orange; font-family: Arial; font-size: 150%; background-color: black; } li{ margin-left: 10px; } </style>

University


  1. AABU
    • Since
      1. Math
      2. Physics
    • IT
  2. JU
  3. -Jordan University
  4. HU
  5. YU

附加的畫面擷圖

所有回覆 (3)

more options
  1. Nested list should be inside < li > element, not outside.
  2. HTML spec doesn't allow the color atribute of < hr > element, only global atributes, for instance style.

So Chrome is wrong here, Firefox is OK.

由 TyDraniu 於 修改

有幫助嗎?

more options

I don't like chrome, and I like firefox, but that doesn't mean the firefox ok. your comment not related at all. This is the body tags here :-



body>

h2 style="text-align:center;color:green;">University/h2> hr color="blue" style="border-width: 3px;color: red;"

       ol type="a" start="4"
           li>AABU</li
           ul style="list-style-type:square;"
               li>Since</li
                 ol type="i" start="2"
                     li>Math</li
                     li>Physics</li
                 /ol
               li>IT</li
           /ul
       li>JU</li
       dt></dt
       dd style="list-style-type: symbols();" >-Jordan University
        

由 sami.zeklab 於 修改

有幫助嗎?

more options

I delete some of "<" and ">" for showing propose,

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題