


Use Bootstrap 3 to develop responsive website practice 04, use Panels to display content_html/css_WEB-ITnose
In Bootstrap pages, Panels are usually used to display the content of main functions. This part of the Html is:
<div class="row" id="featureHeading"> <div class="col-md-12"> <h2 id="更多信息">更多信息</h2> <p class="lead"> 广州恒大淘宝队的官方网站和微博同时发布了几张海报,预热本周三晚8点即将到来的亚冠1/4决赛第二回合。 </p> </div> </div><!--主要功能标题区域结束--> <div class="row" id="features"> <div class="col-sm-4 feature"> <div class="panel"> <div class="panel-heading"> <h3 id="扭转乾坤期待胜利">扭转乾坤期待胜利</h3> </div> <img src="/static/imghwm/default1.png" data-src="images/15.jpg" class="lazy" alt="15"/> <p> 8月27日晚20点,广州恒大将迎来亚冠联赛的一场生死战,主场与西悉尼流浪者队的第二回合比赛。 </p> <a href="http://sports.sina.com.cn/" target="_blank" class="btn btn-warning btn-block">更多赛事</a> </div> </div> <div class="col-sm-4 feature"> <div class="panel"> <div class="panel-heading"> <h3 id="前场外援三箭齐发">前场外援三箭齐发</h3> </div> <img src="/static/imghwm/default1.png" data-src="images/16.jpg" class="lazy" alt="15"/> <p> 本场比赛恒大的后防线人员变化最大的,因为张琳?、金英权同时停赛,里皮也只能让其他国内球员顶上这两个位置。 </p> <a href="http://sports.sina.com.cn/" target="_blank" class="btn btn-success btn-block">更多赛事</a> </div> </div> <div class="col-sm-4 feature"> <div class="panel"> <div class="panel-heading"> <h3 id="要-分钟出线">要90分钟出线</h3> </div> <img src="/static/imghwm/default1.png" data-src="images/17.jpg" class="lazy" alt="15"/> <p> 助理教练马达洛尼代替出席,对于明天的比赛,马达洛尼也转述了主教练里皮的态度。我们有在明天拿下对手。 </p> <a href="http://sports.sina.com.cn/" target="_blank" class="btn btn-info btn-block">更多赛事</a> </div> </div> </div><!--主要功能区域结束-->
○ col-sm-4 attribute value: means that when the page width is greater than 768 pixels, it occupies 4 cells
○ is wrapped in div class="col-sm-4 feature">
□ If you make the image circular
-- Just add class="img-circle" to the image
<img class="img-circle lazy" src="/static/imghwm/default1.png" data-src="images/15.jpg" alt="15"/><img class="img-circle lazy" src="/static/imghwm/default1.png" data-src="images/16.jpg" alt="15"/><img class="img-circle lazy" src="/static/imghwm/default1.png" data-src="images/17.jpg" alt="15"/>
□ If you want to make the content in the Panel look better
--Customize CSS
is customized in site.css in the css folder.
/*---------------------------------------- Panel 主要功能介绍 ------------------------------------*/#features { text-align: center;}#features img { margin: 0 0 20px;}
Reference:
Code a Responsive Website with Bootstrap 3 --by Brad Hussey
http://getbootstrap.com/
http://bootswatch.com/
http://www.tutorialspoint.com/
http://www.placehold.it/
"Using Bootstrap 3 to develop responsive website practice" series includes:
Using Bootstrap 3 to develop responsive website practice 01, preliminary preparation, navigation area, etc.
Using Bootstrap 3 to develop responsive website Practice 02, Carousel
Use Bootstrap 3 to develop a responsive website Practice 03, Content layout below the carousel
Use Bootstrap 3 to develop a responsive website Practice 04, Use Panels to display content

Boolean attributes are special attributes in HTML that are activated without a value. 1. The Boolean attribute controls the behavior of the element by whether it exists or not, such as disabled disable the input box. 2.Their working principle is to change element behavior according to the existence of attributes when the browser parses. 3. The basic usage is to directly add attributes, and the advanced usage can be dynamically controlled through JavaScript. 4. Common mistakes are mistakenly thinking that values need to be set, and the correct writing method should be concise. 5. The best practice is to keep the code concise and use Boolean properties reasonably to optimize web page performance and user experience.

HTML code can be cleaner with online validators, integrated tools and automated processes. 1) Use W3CMarkupValidationService to verify HTML code online. 2) Install and configure HTMLHint extension in VisualStudioCode for real-time verification. 3) Use HTMLTidy to automatically verify and clean HTML files in the construction process.

HTML, CSS and JavaScript are the core technologies for building modern web pages: 1. HTML defines the web page structure, 2. CSS is responsible for the appearance of the web page, 3. JavaScript provides web page dynamics and interactivity, and they work together to create a website with a good user experience.

The function of HTML is to define the structure and content of a web page, and its purpose is to provide a standardized way to display information. 1) HTML organizes various parts of the web page through tags and attributes, such as titles and paragraphs. 2) It supports the separation of content and performance and improves maintenance efficiency. 3) HTML is extensible, allowing custom tags to enhance SEO.

The future trends of HTML are semantics and web components, the future trends of CSS are CSS-in-JS and CSSHoudini, and the future trends of JavaScript are WebAssembly and Serverless. 1. HTML semantics improve accessibility and SEO effects, and Web components improve development efficiency, but attention should be paid to browser compatibility. 2. CSS-in-JS enhances style management flexibility but may increase file size. CSSHoudini allows direct operation of CSS rendering. 3.WebAssembly optimizes browser application performance but has a steep learning curve, and Serverless simplifies development but requires optimization of cold start problems.

The roles of HTML, CSS and JavaScript in web development are: 1. HTML defines the web page structure, 2. CSS controls the web page style, and 3. JavaScript adds dynamic behavior. Together, they build the framework, aesthetics and interactivity of modern websites.

The future of HTML is full of infinite possibilities. 1) New features and standards will include more semantic tags and the popularity of WebComponents. 2) The web design trend will continue to develop towards responsive and accessible design. 3) Performance optimization will improve the user experience through responsive image loading and lazy loading technologies.

The roles of HTML, CSS and JavaScript in web development are: HTML is responsible for content structure, CSS is responsible for style, and JavaScript is responsible for dynamic behavior. 1. HTML defines the web page structure and content through tags to ensure semantics. 2. CSS controls the web page style through selectors and attributes to make it beautiful and easy to read. 3. JavaScript controls web page behavior through scripts to achieve dynamic and interactive functions.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Linux new version
SublimeText3 Linux latest version
