상품등록 에서 상세성명 html 소스 넣으면 안되는 건가요? 채택완료
안녕하세요 혹시
상품등록 > 상품설명 란에 html 소스를 넣으면 그냥 글만 나오는대 워낙 그런건가요?

상기처럼 관리자 페이지에서 보이긴 한는대 막상 본 페이지에 가면
아래와 같이 나오는데 이건 무슨 이유일까요?

소느는 아래와 같습니다
<style>
html, body {
font-size: 20px;
}
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: border-box;
}
body {
padding: 40px;
margin: 0;
line-height: 1.5;
background-color: #333;
font-family: Roboto, Helvetica, Arial, sans-serif;
color: #333;
}
h1 {
margin-top: 0;
line-height: 1.25;
text-align: center;
font-family: "Roboto Slab", Times, "Times New Roman", serif;
color: white;
}
/* highlight colors */
::-moz-selection {
background-color: #333;
color: white;
}
::selection {
background-color: #333;
color: white;
}
/* wrapper */
.wrapper {
max-width: 70ch;
padding-right: 10px;
padding-left: 10px;
margin-right: auto;
margin-left: auto;
}
/* tabs */
.tabs {
border-right: 1px solid #ccc;
}
.tabs:after {
content: "";
display: table;
clear: both;
}
.tabs input[type=radio] {
display: none;
}
.tabs label {
display: block;
float: left;
width: 33.33333%;
padding: 1em;
border: 1px solid #ccc;
border-right: none;
background-color: #f7f7f7;
text-align: center;
font-weight: 700;
color: coral;
cursor: pointer;
-webkit-transition: background-color 150ms ease-in-out;
transition: background-color 150ms ease-in-out;
}
.tabs label:hover {
background-color: white;
}
.tabs [id^="tab"]:checked + label {
border-bottom-color: white;
background: white;
color: #333;
}
.tab-content {
display: none;
float: left;
width: 100%;
padding: 1em;
border-bottom: 1px solid #ccc;
border-left: 1px solid #ccc;
background-color: white;
}
#tab1:checked ~ #tab-content1,
#tab2:checked ~ #tab-content2,
#tab3:checked ~ #tab-content3 {
display: block;
}
.other-content {
color: white;
}
@media only screen and (max-width: 768px) {
body, html {
font-size: 18px;
}
}
@media only screen and (max-width: 645px) {
.tabs label {
float: none;
width: 100%;
}
}
@media only screen and (max-width: 480px) {
body, html {
font-size: 16px;
}
}
</style>
<div class="wrapper">
<h1>Pure CSS Tabs</h1>
<div class="tabs cf">
<input name="tabs" id="tab1" type="radio" checked="">
<label for="tab1">
Description
</label>
<input name="tabs" id="tab2" type="radio">
<label for="tab2">
Features
</label>
<input name="tabs" id="tab3" type="radio">
<label for="tab3">
Delivery & returns
</label>
<div class="tab-content" id="tab-content1">
텝1
</div>
<div class="tab-content" id="tab-content2">
텝2
</div>
<div class="tab-content" id="tab-content3">
텝3
</div>
</div>
<div class="other-content">
<p>
Lorem ipsum dolor sit amet, ne duo urbanitas eloquentiam consectetuer, vel et stet complectitur intellegebat.
</p>
</div>
</div>
이런식으로 입력을 해서 텝부분에 추가 필드를 넣어볼려구요
감사합니다
답변 3개
답변을 작성하려면 로그인이 필요합니다.
로그인
혹시 htmlspecialchar() 이부분을 찾으면 뭐로 변경해야 하나요?
답변 감사드립니다