# BS5 - 權重命題 ### 第一題 請問以下的 HTML 裡面的文字是什麼顏色? ``` HTML <h1 class="test2 test1">標題</h1> ``` ```css= <!-- CSS --> .test1{ color: black; } .test2{ color: red; } ``` ### 第二題 請問以下的 HTML 裡面的文字是什麼顏色? ``` HTML <h1 class="title2 title1" id="title3" style="color: green;">標題</h1> ``` ```css= <!-- CSS --> .title1{ color: black; } .title2{ color: red; } .title3{ color: blue; } ``` ### 第三題 請問以下的 HTML 裡面的文字是什麼顏色? ``` HTML <h1 class="red white" style="color:blue">標題</h1> ``` ```css= <!-- CSS --> .white{ color: red; } .red{ color: white; } h1{ color: green; } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up