Fortune Telling Collection - Comprehensive fortune-telling - Medium span

2. In the test.html file, create a line of text with a p tag, and add a span tag to the p tag.

3. In the test.html file, set the class attribute of the p tag to mycss.

4.

Medium span

2. In the test.html file, create a line of text with a p tag, and add a span tag to the p tag.

3. In the test.html file, set the class attribute of the p tag to mycss.

4.

Medium span

2. In the test.html file, create a line of text with a p tag, and add a span tag to the p tag.

3. In the test.html file, set the class attribute of the p tag to mycss.

4. Within the css tag, set the style of the P tag through class, and set its background color to gray, with a width of 200px and a height of 50px.

5. Within the css tag, use the line-height attribute to set the line height of the content of the P tag, which is the same as the height of the P tag, so that vertical alignment can be achieved.