HTML

    Django - vscode에서 django html auto formatting

    Unibeautify 확장자 설치 settings.json 파일 수정 파일 최하단에 아래 코드 추가 "files.associations": { "**/*.html": "html", "**/templates/**/*.html": "django-html", "**/templates/**/*": "django-txt", "**/requirements{/**,*}.{txt,in}": "pip-requirements" }, "emmet.includeLanguages": { "django-html": "html" }, "unibeautify.enabled": true, "[django-html]": { "editor.formatOnSave": true, // 파일 저장 시 auto formatting "editor..

    yii - 객체를 HTMl 형식의 문자열로 출력하는 함수

    코드 /** * 객체를 HTML 형식의 문자열로 출력하는 함수 * @param object $obj 출력할 오브젝트 객체 * @param int $depth 출력할 데이터 깊이 * @return string HTML 형식으로 출력된 문자열 */ function dumpObject($obj, $depth = 999) { Yii::import('system.utils.CVarDumper'); echo CVarDumper::dumpAsString($obj, $depth, true); exit; } 예시 // 출력할 객체 생성 $obj = array( 'test1' => 'test1', 'test2' => 'test2', 'test3..

    js - js 로드 후 생성된 html이라 on 이벤트가 감지되지 않을 때

    코드 // js 로드 후 생성된 html이라 on 이벤트가 감지되지 않을 때 사용 $(document).on('click', '.태그', function () { console.log('click event'); });

    COM-DEV 기술설명서

    COM-DEV 기술설명서 ✔️ 개요 💬 개발자들의 코드 공유, 질문 등을 위한 커뮤니티 사이트 구현 ✔️ Github 리포지터리 😈 https://github.com/kimchaemin000617/comdev ✔️ 사용된기술 ⚓️ 버전관리 - Git , Github ⚓️ 배포 - 👾 Github - ☕️ Tomcat - 🐳 Docker ♻️ 개발환경 - SpringBoot - Sqlyog - Chrome - Firefox - Windows 11 - Tomcat - JSP 🔥 서비스환경 - Nginx - Mariadb - Docker 🔱 기술 스택 - Java - Spring Boot - MariaDB - HTML, CSS, JS - JQuery - Ajax - Tailwindcss - daisy ui ✔..

    HTML, CSS - select의 option 클릭 시 링크 이동

    코드 게시판 공지 게시판 자유 게시판 사용 시 참고 https://goodsgoods.tistory.com/249

    HTML, CSS - input type

    표 유형 설명 기본 예제 Spec text (en-US) 디폴트 값. 한줄의 텍스트 필드입니다. 새줄 문자는 입력값으로부터 자동으로 제거됩니다. password (en-US) 값이 가려진 한줄 텍스트 필드. 사이트가 안전하지 않으면 사용자에게 경고합니다. email (en-US) 이메일 주소를 편집할 수 있는 필드. 텍스트 입력 필드처럼 보이지만 유효성 검증 매개변수가 존재하며, 브라우저와 장치가 동적 키보드를 지원하는 경우 이메일에 적합한 키보드를 보여줍니다. HTML5 button 기본 행동을 가지지 않으며 value을 레이블로 사용하는 푸시 버튼. file 파일을 지정할 수 있는 컨트롤. accept 특성을 사용하면 허용하는 파일 유형을 지정할 수 있습니다. hidden (en-US) 보이지 않지만..

    HTML, CSS - Toast Ui에 폰트 적용

    코드 html > body, html > body .toastui-editor-contents, html > body .ProseMirror, html > body .toastui-editor-md-code, html > body .toastui-editor-md-code-block { font-family: "my-font", sans-serif; text-underline-position: under; } 사용 font-family: "my-font" 자리에 font-family 명을 쓰면 된다. 출처 유튜브 몰입코딩 아카이브