html - 如何将右下角的作者姓名添加到 HTML 中的引用中
问题描述
我想在引用结束后在右下角添加引用的作者姓名。我使用了粗体标签,它确实有效,但我想在不使用粗体标签的情况下这样做。这是示例代码:
<div class="container mx-auto flex px-3 py-24 md:flex-row flex-col items-center">
<p>“No matter what you achieve, what you want to aspire to be, or how famous and powerful you become, the most important thing is whether you are excited about each and every moment of your life because of your work and people around you.”
<br>
<b style="float: right;">- Sushant Singh Rajpoot</b>
</p>
</div>
解决方案
尝试:
<div class="container mx-auto flex px-3 py-24 md:flex-row flex-col items-center">
<p>“No matter what you achieve, what you want to aspire to be, or how famous and powerful you become, the most important thing is whether you are excited about each and every moment of your life because of your work and people around you.”
<br>
<span style="float: right;">- Sushant Singh Rajpoot</span>
</p>
</div>
推荐阅读
- css - 是否有任何配置可以在开发模式下停止 angular5 应用程序中的分块/捆绑 css?
- python - TensorFlow GPU 模型无法在自定义图像上进行训练
- asp.net-core-2.0 - 如何在asp.net核心剃须刀页面中的回发调用后将焦点设置在控件上
- android - 安装应用程序被播放保护阻止
- php - 如何从 wordpress 的管理子菜单链接自定义帖子类型?
- reactjs - 不映射数组时是否需要为孩子设置键?
- material-design - 是否有计划更新 gmail 插件以符合 Material design 2.0?
- php - 如何在没有周末的情况下获取日期范围之间的所有日期?
- c++ - 二维数组的名称究竟代表什么?
- html - 移动 Web 推送通知上的用户操作