劉任昌清單方塊ListBox與核取方塊CheckBox

期中考後追加補充

非巢狀

if (r) present("#FF0000");
if (g) present("#00FF00");//沒有滿足(r)就執行
if (b) present("#0000FF");

巢狀

if (r) present("#FF0000");
else if (g) present("#00FF00");//沒有滿足(r)就執行
else if (b) present("#0000FF");
else alert("豬頭你沒有選擇顏色");

期中考


紅色 綠色 藍色
粗體

輸出

期中考

巢狀IF條件 在style 區塊定義CSS

EXCEL

留言

這個網誌中的熱門文章

劉任昌企業ESG金融常識測驗

HTML vs 撰寫模式