Warning: error_log(/data/www/wwwroot/hmttv.cn/caches/error_log.php): failed to open stream: Permission denied in /data/www/wwwroot/hmttv.cn/phpcms/libs/functions/global.func.php on line 537 Warning: error_log(/data/www/wwwroot/hmttv.cn/caches/error_log.php): failed to open stream: Permission denied in /data/www/wwwroot/hmttv.cn/phpcms/libs/functions/global.func.php on line 537 久久久久久久久66精品片,久久久久国产一级毛片高清片,一区二区在线视频观看

          整合營銷服務商

          電腦端+手機端+微信端=數(shù)據(jù)同步管理

          免費咨詢熱線:

          完美圖片:掌握 HTML 圖像的藝術

          索 HTML 圖像的不同概念,以及如何有效地使用它們在您的網(wǎng)站上增加視覺吸引力、傳達信息和表達情感。 本指南包含大量示例和實用技巧,可幫助您創(chuàng)建一個視覺效果驚人且用戶友好的網(wǎng)站。



          圖像是網(wǎng)頁設計師和開發(fā)人員的強大工具,它們可用于傳達信息、表達情感并使網(wǎng)站更具視覺吸引力。 HTML 圖像概念是網(wǎng)頁設計和開發(fā)的重要方面。 它們用于將圖像嵌入到網(wǎng)頁中,以便于顯示和共享圖片和圖形。 在這篇博文中,我們將探討 HTML 圖像的不同概念以及如何有效地使用它們。

          首先,讓我們談談不同類型的 HTML 圖像。 有兩種主要類型的圖像:內嵌圖像和背景圖像。 內聯(lián)圖像直接嵌入到 HTML 代碼中,而背景圖像則應用于元素的背景。

          1 | 內聯(lián)圖像



          在此示例中,內聯(lián)圖像“image.jpg”直接嵌入到 HTML 代碼中并顯示給用戶。

          2 | 背景圖片


          在此示例中,背景圖像“image.jpg”應用于 div 元素的背景并顯示給用戶。

          3 | 替代 (alt) 文本

          以合乎邏輯且一致的方式使用圖像也很重要。 這意味著您應該使用它們來傳達與網(wǎng)頁內容相關的信息或表達情感,而不是隨意使用它們。 此外,使用 alt 屬性為圖像添加文本替代也很重要,它允許可能使用屏幕閱讀器的用戶訪問圖像,或者以防圖像加載失敗。


          在此示例中,替代文本“日落的美麗圖像”讓用戶清楚地了解圖像所代表的內容。

          4 | 調整圖像大小

          另一個 HTML 圖像概念是使用寬度和高度屬性調整圖像大小的能力。 這些屬性允許您調整圖像大小以適合您的布局和設計。


          在此示例中,圖像的寬度設置為 300 像素,圖像的高度設置為 200 像素。

          結論

          HTML 圖像概念是網(wǎng)頁設計和開發(fā)的重要方面。 它們用于將圖像嵌入到網(wǎng)頁中,以便于顯示和共享圖片和圖形。 通過了解不同類型的圖像并正確使用它們,您可以為您的網(wǎng)站增加額外的視覺吸引力,并以有力的方式傳達信息或表達情感。 無論是使用內聯(lián)圖片還是背景圖片,添加替代文本或調整大小,這些概念都是創(chuàng)建視覺效果驚人且用戶友好的網(wǎng)站的關鍵。

          但不要只相信我們的話,您自己試試吧! 嘗試使用 HTML 圖像,看看它們如何增強您網(wǎng)站的整體外觀。 通過每一行代碼,您離創(chuàng)建一個您的訪問者會喜歡的美觀且引人入勝的網(wǎng)站又近了一步。 請記住,圖像具有喚起情感和傳達信息的力量,因此請明智地使用它們并將它們作為您網(wǎng)頁設計策略的重要組成部分。 通過正確組合 HTML 和圖像,您將創(chuàng)建一個脫穎而出并給訪問者留下持久印象的網(wǎng)站。

          自蜂鳥網(wǎng)-技法學院,原文鏈接:https://m.fengniao.com/slide/5358544.html

          這些照片是來自Agora Images 2019年度“水”主題攝影比賽的作品,共收集了超過16000張來自全球的作品。不妨看看這些攝影師是如何用攝影來詮釋水的魅力的吧!

          歡迎關注 蜂鳥網(wǎng)微信公眾號:fengniaoweixin

          要特色:使用bootstrap搭建,登陸注冊在一個頁面,背景圖片輪播

          說明:圖片820×560

          代碼:

          <%@ page language=”java” contentType=”text/html; charset=UTF-8″

          pageEncoding=”UTF-8″%>

          <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>

          <html>

          <head>

          <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>

          <meta http-equiv=”X-UA-Compatible” content=”IE=edge”>

          <meta name=”viewport” content=”width=device-width, initial-scale=1″>

          <title>登錄注冊</title>

          <%

          String path = request.getContextPath();

          String basePath = request.getScheme() + “://”

          + request.getServerName() + “:” + request.getServerPort()

          + path + “/”;

          %>

          <link rel=”shortcut icon” href=”<%=basePath %>img/brandbest.png” />

          <!– Bootstrap –>

          <link href=”<%=basePath %>bootstrap/css/bootstrap.min.css” rel=”stylesheet”>

          <style>

          body:{

          }

          #login_div{

          width:26%;

          hight:30%;

          /*float:right;

          margin-top:110px;

          margin-right:160px; */

          margin-left:37%;

          margin-top:10%;

          color:white;

          position:absolute;

          z-index:9999;

          background-color:#000000;/* IE6和部分IE7內核的瀏覽器(如QQ瀏覽器)下顏色被覆蓋 */

          background-color:rgba(0,0,0,0.3); /* IE6和部分IE7內核的瀏覽器(如QQ瀏覽器)會讀懂,但解析為透明 */

          }

          #regist_div{

          width:26%;

          hight:30%;

          /*float:right;

          margin-top:110px;

          margin-right:160px; */

          margin-left:37%;

          margin-top:10%;

          display:none;

          color:white;

          position:absolute;

          z-index:9999;

          background-color:#000000;/* IE6和部分IE7內核的瀏覽器(如QQ瀏覽器)下顏色被覆蓋 */

          background-color:rgba(0,0,0,0.3); /* IE6和部分IE7內核的瀏覽器(如QQ瀏覽器)會讀懂,但解析為透明 */

          }

          </style>

          <!– HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries –>

          <!– WARNING: Respond.js doesn’t work if you view the page via file:// –>

          <!–[if lt IE 9]>

          <script src=”http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js”></script>

          <script src=”http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js”></script>

          <![endif]–>

          <!– <script type=”text/javascript” src=”js/jquery-3.1.1.js”></script> –>

          <script type=”text/javascript” src=”<%=basePath %>js/jquery-1.11.3.js”></script>

          <script type=”text/javascript”>

          $(function(){

          $(“#gologin”).click(function(){

          $(“#login_div”).show();

          $(“#regist_div”).hide();

          });

          $(“#goregist”).click(function(){

          $(“#login_div”).hide();

          $(“#regist_div”).show();

          });

          });

          </script>

          </head>

          <body>

          <div class=”bg” style=”width:100%;height:100%;position:absolute;”>

          <div id=”carousel-example-generic” class=”carousel slide” data-ride=”carousel”>

          <!– Indicators –>

          <ol class=”carousel-indicators”>

          <li style=”display:none;” data-target=”#carousel-example-generic” data-slide-to=”0″ class=”active”></li>

          <li style=”display:none;” data-target=”#carousel-example-generic” data-slide-to=”1″></li>

          <li style=”display:none;” data-target=”#carousel-example-generic” data-slide-to=”2″></li>

          </ol>

          <!– Wrapper for slides –>

          <div class=”carousel-inner” role=”listbox”>

          <div class=”item active”>

          <img style=”width:100%;” src=”<%=basePath %>img/bg1.jpg” alt=”…”>

          <div class=”carousel-caption”>

          <!– bg1.jpg –>

          </div>

          </div>

          <div class=”item”>

          <img style=”width:100%;” src=”<%=basePath %>img/bg2.jpg” alt=”…”>

          <div class=”carousel-caption”>

          <!– bg2.jpg –>

          </div>

          </div>

          <div class=”item”>

          <img style=”width:100%;” src=”<%=basePath %>img/bg3.jpg” alt=”…”>

          <div class=”carousel-caption”>

          <!– bg3.jpg –>

          </div>

          </div>

          <!– … –>

          </div>

          <!– Controls –>

          <!– <a class=”left carousel-control” href=”#carousel-example-generic” role=”button” data-slide=”prev”>

          <span class=”glyphicon glyphicon-chevron-left”></span>

          <span class=”sr-only”>Previous</span>

          </a>

          <a class=”right carousel-control” href=”#carousel-example-generic” role=”button” data-slide=”next”>

          <span class=”glyphicon glyphicon-chevron-right”></span>

          <span class=”sr-only”>Next</span>

          </a> –>

          </div>

          </div>

          <!– 登錄框 –>

          <div class=”loginAndRegist”>

          <div id=”regist_div”>

          <form>

          <p style=”text-align:center;font-size:25px;”>用戶注冊 <a id=”gologin” style=”font-size:10px;cursor:pointer;”>去登錄</a></p>

          <div class=”form-group”>

          <label for=”exampleInputEmail1″>賬號</label> <input

          type=”email” class=”form-control” id=”regist_name”

          placeholder=”account”>


          上一篇:Java-GUI編程之Swing組件
          下一篇:HTML 表格
          主站蜘蛛池模板: 色噜噜一区二区三区| 国产成人精品一区二区A片带套 | 国产一区精品视频| 日本精品一区二区三区在线视频一 | 国产精品一区12p| 亚洲乱码一区二区三区国产精品| 精品国产AⅤ一区二区三区4区 | 精品视频一区二区三区在线播放| 国产高清一区二区三区| 亚洲AV综合色区无码一区| 国产一区二区三区精品久久呦| 一区二区传媒有限公司| 国产精品福利一区二区久久| 国产精品日本一区二区不卡视频| 果冻传媒一区二区天美传媒| V一区无码内射国产| 四虎永久在线精品免费一区二区 | 亚洲AV成人精品日韩一区18p| 精品国产日韩一区三区| 亚洲av乱码中文一区二区三区| 亚洲日本乱码一区二区在线二产线| 久久久精品人妻一区二区三区| 亚洲一区二区三区无码中文字幕| 中文字幕一区二区三区在线播放| 国产精品主播一区二区| 岛国精品一区免费视频在线观看| 亚洲成av人片一区二区三区| 午夜无码视频一区二区三区| 女人和拘做受全程看视频日本综合a一区二区视频 | 免费人妻精品一区二区三区| 一区精品麻豆入口| 丰满人妻一区二区三区视频53| 国产色情一区二区三区在线播放 | 国产免费无码一区二区| 香蕉免费一区二区三区| AA区一区二区三无码精片| 亚洲AV无码一区二区三区久久精品| 无码丰满熟妇一区二区| V一区无码内射国产| 无码囯产精品一区二区免费| 亚洲国产系列一区二区三区|