---
tags: 2021-BS5實戰營
title: 權重命題
---
### 第一題
請問以下的 HTML 裡面的文字是什麼顏色?(blue)
``` HTML
<p class="pretty-text pretty-text2">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. </P>
```
```css=
<!-- CSS -->
p{
color: yellow;
}
.pretty-text{
color: red;
}
.pretty-text2{
color: blue;
}
```
### 第二題
請問以下的 HTML 裡面的文字是什麼顏色?(red)
``` HTML
<p class="pretty-text pretty-text2" style="color: yellow">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. </P>
```
```css=
<!-- CSS -->
.pretty-text{
color: red !important;
}
.pretty-text2{
color: blue;
}
```
### 第三題
請問以下的 HTML 裡面的文字是什麼顏色?(yellow)
``` HTML
<p id="pretty" class="pretty-text pretty-text2">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. </P>
```
```css=
<!-- CSS -->
#pretty{
color: yellow;
}
.pretty-text{
color: red;
}
.pretty-text2{
color: blue;
}
```
{%hackmd @yenying/theme-MorandiGrey %}