JavaScriptを使用して新しいタブでURLを開くにはどうすればよいですか?

JavaScriptを使用して新しいタブでURLを開くにはどうすればよいですか?

JavaScript を使用して URL を新しいタブで開くには、window.open() メソッドを利用し、最初の引数として URL を指定し、2 番目の引数として _blank を指定して、新しいタブで開くことを指定します。これにより、ブラウザが新しいタブで URL を開くようになります。

window.open() メソッドの使用

  • 新しいタブを開くには、次を使用する必要があります _空白 の 2 番目のパラメータで window.open() メソッド
  • window.open() の戻り値は、新しく作成されたウィンドウまたはタブへの参照、または失敗した場合は null です。
  • タブではなく新しいウィンドウが開かれるため、3 番目のパラメータを追加しないでください。

構文:

window.open(URL, '_blank'); 

例 1: この例では、上で説明したアプローチを使用しました。

HTML
     新しいタブで URL を開く title>head> <body>  <p>ボタンをクリックして開きます <b>techcodeview.com b> 新しいタブ p> <button onclick='NewTab()'>Geeksforgeeks ボタンを開く> <script>function NewTab() { window.open( 'https://www.techcodeview.com, '_blank');  } スクリプト>本体>html>> </pre>  </code>  <p dir='ltr'>  <b>  <strong>出力: </strong>  </b>  </p>  <img src='//techcodeview.com/img/picked/09/how-open-url-new-tab-using-javascript.webp' alt='新しいタブ'> <h2> <span>アンカー要素(HTML DOM)の使用 </span> </h2>  <p> <span>アンカー要素 (HTML DOM) を使用するには、「a」要素を動的に作成し、その href 属性を目的の URL に設定し、その target 属性を _blank に設定する必要があります。最後に、要素のクリック イベントをトリガーすると、新しいタブで URL が開きます。 </span> </p>  <p dir='ltr'>  <b>  <strong>例: </strong>  </b>  <span>この例では、新しいタブで techcodeview.com を開くボタンを作成します。クリックすると、目的の URL と _blank ターゲットを含む「a」要素が動的に生成され、クリック イベントがトリガーされて新しいタブでリンクが開きます。 </span> </p>HTML <code>  <pre> <html>  <head>  <title>新しいタブで URL を開く title>head> <body>  <p>ボタンをクリックして開きます <b>techcodeview.com b> 新しいタブ p> <button onclick='NewTab()'>Geeksforgeeks ボタンを開く> <script>function NewTab() { let newTab = document.createElement('a');  newTab.href = 'https://www.techcodeview.com;  newTab.target = '_blank';  newTab.click();  } スクリプト>本体>html>> </pre>  </code>  <p dir='ltr'> <span>出力: </span> </p>  <img src='//techcodeview.com/img/picked/09/how-open-url-new-tab-using-javascript-2.webp' alt='新しいタブ'> <h3>  <b>  <strong>サポートされているブラウザ </strong>  </b>  </h3> <p dir='ltr'> <span>ブラウザは以下によってサポートされています。 </span>  <b>  <strong>window.open() </strong>  </b>  <span>方法は以下にリストされています。 </span> </p>  <ul> <li value='1'>  <span>グーグルクローム </span>  </li> <li value='2'>  <span>角 </span>  <span>  </span>  </li> <li value='3'>  <span>Firefox </span>  </li> <li value='4'>  <span>オペラ </span>  </li> <li value='5'>  <span>サファリ </span>  </li> </ul>  <br>
                     </div>

                     <!-- Article Footer with Prominent Share Buttons -->
                     <div class="px-6 md:px-8 py-8 bg-slate-50 dark:bg-slate-900/50 border-t border-slate-200 dark:border-slate-700/50">
                          <div class="flex flex-col sm:flex-row items-center justify-between gap-6">
                              <h4 class="text-base font-bold text-slate-700 dark:text-slate-300 uppercase tracking-wide flex items-center gap-2">
                                 <i class="fa fa-share-alt text-tech-500"> </i>
                                共有                              </h4>
                             
                              <div class="flex flex-wrap justify-center gap-3">
                                 <!-- Twitter -->
                                 <a href="https://twitter.com/intent/tweet?text=JavaScriptを使用して新しいタブでURLを開くにはどうすればよいですか?&url=https://www.techcodeview.com/ja/how-open-url-new-tab-using-javascript" 
                                   target="_blank" rel="noopener noreferrer" 
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#1DA1F2]/10 text-[#1DA1F2] hover:bg-[#1DA1F2] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-twitter text-lg"> </i>
                                     <span class="hidden sm:inline">Twitter </span>
                                 </a>

                                 <!-- Facebook -->
                                 <a href="https://www.facebook.com/sharer/sharer.php?u=https://www.techcodeview.com/ja/how-open-url-new-tab-using-javascript" 
                                   target="_blank" rel="noopener noreferrer"
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#4267B2]/10 text-[#4267B2] hover:bg-[#4267B2] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-facebook text-lg"> </i>
                                     <span class="hidden sm:inline">Facebook </span>
                                 </a>
                                
                                 <!-- LinkedIn -->
                                 <a href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.techcodeview.com/ja/how-open-url-new-tab-using-javascript&title=JavaScriptを使用して新しいタブでURLを開くにはどうすればよいですか?" 
                                   target="_blank" rel="noopener noreferrer"
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#0077b5]/10 text-[#0077b5] hover:bg-[#0077b5] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-linkedin text-lg"> </i>
                                     <span class="hidden sm:inline">LinkedIn </span>
                                 </a>
                              </div>
                          </div>
                     </div>
                </article>

                <!-- Comments Placeholder / Random Articles -->
                <div class="mt-8 bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 rounded-xl p-6 md:p-8 shadow-sm">
                     <h3 class="text-xl font-bold text-slate-900 dark:text-white mb-6 uppercase tracking-wide border-b border-slate-200 dark:border-slate-700 pb-2">
                        あなたにおすすめ                     </h3>
                     <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                         <div class="group">
                              <a href="/ja/difference-between-typescript" class="block aspect-video rounded-lg overflow-hidden bg-slate-200 dark:bg-slate-700 mb-3">
                                 <img loading="lazy" src="https://techcodeview.com/img/typescript-tutorial/42/difference-between-typescript.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="TypeScript と ES6 の違い" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                              </a>
                              <h4 class="font-bold text-slate-900 dark:text-white leading-tight group-hover:text-tech-500 transition-colors">
                                 <a href="/ja/difference-between-typescript">TypeScript と ES6 の違い </a>
                              </h4>
                         </div> <div class="group">
                              <a href="/ja/bash-scripting-bash-echo-command" class="block aspect-video rounded-lg overflow-hidden bg-slate-200 dark:bg-slate-700 mb-3">
                                 <img loading="lazy" src="https://techcodeview.com/img/bash-script/07/bash-scripting-bash-echo-command.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Bash スクリプト – Bash Echo コマンド" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                              </a>
                              <h4 class="font-bold text-slate-900 dark:text-white leading-tight group-hover:text-tech-500 transition-colors">
                                 <a href="/ja/bash-scripting-bash-echo-command">Bash スクリプト – Bash Echo コマンド </a>
                              </h4>
                         </div>
                     </div>
                </div>
             </div>

             <!-- SECONDARY COLUMN (SIDEBAR) -->
             <!-- Aside Column -->
 <div class="lg:col-span-4 space-y-8">
	
	 <!-- Best Articles Widget -->
	 <div class="rounded-xl bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 p-6 shadow-sm">
		 <div class="mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
			 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide flex items-center">
                 <span class="mr-2 h-2 w-2 rounded-full bg-tech-500"> </span>
                トップ記事             </h2>
		 </div>
		
		 <!-- Owl Carousel Preserved Container -->
		 <div id="owl-carousel-3" class="owl-carousel owl-theme center-owl-nav">
			 <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/how-many-nanometers-meter-131194">
						 <img src="https://techcodeview.com/img/blog/79/how-many-nanometers-meter.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="1メートルは何ナノメートル?" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/how-many-nanometers-meter-131194" class="hover:text-tech-500 transition-colors line-clamp-3">1メートルは何ナノメートル? </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/vb-net-tutorial">
						 <img src="https://techcodeview.com/img/vb-net-tutorial/65/vb-net-tutorial.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="VB.NET チュートリアル" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/vb-net-tutorial" class="hover:text-tech-500 transition-colors line-clamp-3">VB.NET チュートリアル </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/how-install-google-chrome-kali-linux">
						 <img src="https://techcodeview.com/img/kali-linux-tutorial/38/how-install-google-chrome-kali-linux.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Kali Linux に Google Chrome をインストールする方法" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/how-install-google-chrome-kali-linux" class="hover:text-tech-500 transition-colors line-clamp-3">Kali Linux に Google Chrome をインストールする方法 </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/aquarius-compatibility-1314">
						 <img src="https://techcodeview.com/img/blog/08/aquarius-compatibility.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="水瓶座の互換性: どの星座が最もよく合いますか?" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/aquarius-compatibility-1314" class="hover:text-tech-500 transition-colors line-clamp-3">水瓶座の互換性: どの星座が最もよく合いますか? </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/binary-number-system">
						 <img src="https://techcodeview.com/img/math-concepts/97/binary-number-system.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="2 進数システム" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/binary-number-system" class="hover:text-tech-500 transition-colors line-clamp-3">2 進数システム </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/countplot-python">
						 <img src="https://techcodeview.com/img/python-tutorial/60/countplot-python.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Python のカウントプロット" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/countplot-python" class="hover:text-tech-500 transition-colors line-clamp-3">Python のカウントプロット </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/parts-seed">
						 <img src="https://techcodeview.com/img/picked/87/parts-seed.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="種子の部分" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/parts-seed" class="hover:text-tech-500 transition-colors line-clamp-3">種子の部分 </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/tee-command-linux-with-examples">
						 <img src="https://techcodeview.com/img/linux-command/75/tee-command-linux-with-examples.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Linux の tee コマンドと例" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/tee-command-linux-with-examples" class="hover:text-tech-500 transition-colors line-clamp-3">Linux の tee コマンドと例 </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/test-plan">
						 <img src="https://techcodeview.com/img/software-testing/73/test-plan.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="テスト計画" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/test-plan" class="hover:text-tech-500 transition-colors line-clamp-3">テスト計画 </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/what-is-10-40">
						 <img src="https://techcodeview.com/img/maths/82/what-is-10-40.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="40 の 10% とは何ですか?" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/what-is-10-40" class="hover:text-tech-500 transition-colors line-clamp-3">40 の 10% とは何ですか? </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE -->
		 </div>
		

         <!-- Categories -->
		 <div class="mt-8 mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
			 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide">カテゴリ </h2>
		 </div>
		 <div class="flex flex-wrap gap-2">
             <a href="/ja/blog/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                ブログ
             </a> <a href="/ja/java-conversion/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Java変換
             </a> <a href="/ja/maths/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                数学
             </a> <a href="/ja/java-collections/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Java コレクション
             </a> <a href="/ja/differences/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                違い
             </a> <a href="/ja/java-string/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Java文字列
             </a>
         </div>

         <!-- Interesting Articles Widget -->
		 <div class="mt-8">
			 <div class="mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
				 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide">興味深い記事 </h2>
			 </div>
			
			 <div id="owl-carousel-4" class="owl-carousel owl-theme">
				 <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/blog/17/15-computer-science-internships.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="高校生向けコンピューター サイエンス インターンシップ 15 件" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/ja/blog/">ブログ </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ja/15-computer-science-internships-131362">高校生向けコンピューター サイエンス インターンシップ 15 件 </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/blog/25/advantages-disadvantages-washing-machines.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="洗濯機のメリットとデメリット" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/ja/blog/">ブログ </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ja/advantages-disadvantages-washing-machines">洗濯機のメリットとデメリット </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/mysql-tutorial/27/mysql-rename-column.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="MySQL の列名の変更" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/ja/mysql-tutorial/">Mysql チュートリアル </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ja/mysql-rename-column">MySQL の列名の変更 </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/reactjs-tutorial/35/learn-reactjs-tutorial.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="ReactJS チュートリアルを学ぶ" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/ja/reactjs-tutorial/">Reactjs チュートリアル </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ja/learn-reactjs-tutorial">ReactJS チュートリアルを学ぶ </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/linux-command/21/how-chmod-777-all-subfolders-var-www.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="/var/www のすべてのサブフォルダーを Chmod 777 する方法" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/ja/linux-command/">Linuxコマンド </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ja/how-chmod-777-all-subfolders-var-www">/var/www のすべてのサブフォルダーを Chmod 777 する方法 </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/python-pandas-dataframe/01/python-pandas-melt.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="パイソン | Pandas.melt()" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/ja/python-pandas-dataframe/">Python パンダデータフレーム </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ja/python-pandas-melt">パイソン | Pandas.melt() </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE -->
			 </div>
		 </div>
	 </div>
 </div>
 <!-- /Aside Column -->         </div>
        </div>
     </div>

 <footer class="site-footer">
         <div class="container">
             <span class="footer-links">
                Copyright ©2026 全著作権所有 | 
                 <a href="//www.techcodeview.com/fi/">techcodeview.com </a> | 
                 <a href="/disclaimer" rel="nofollow noopener noreferrer" target="_blank">免責事項 </a> | 
                 <a href="/about-us" rel="nofollow noopener noreferrer" target="_blank">私たちについて </a> | 
                 <a href="/privacy-policy" rel="nofollow noopener noreferrer" target="_blank">プライバシーポリシー </a> 
             </span>
         </div>
     </footer>
 
     <script type="text/javascript" src="https://techcodeview.com/template/assets/plugins/jquery-1.11.3.min.js"> </script>
     <script type="text/javascript" src="https://techcodeview.com/template/assets/plugins/bootstrap/js/bootstrap.min.js"> </script>    
     <script type="text/javascript" src="https://techcodeview.com/template/assets/js/main.js"> </script>     
	 <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"> </script>
	 <script>
    !function(){"use strict";let t=document.createElement("button");t.id="toTopBtn",t.innerHTML="↑";let e=`
        #toTopBtn {
            position: fixed; bottom: 25px; right: 25px; z-index: 9999; opacity: 0; visibility: hidden; background-color: #0ea5e9; color: white; border: none; border-radius: 8px; width: 50px; height: 50px; font-size: 24px; cursor: pointer; transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        }
        #toTopBtn:hover { background-color: #0284c7; }
    `,i=document.createElement("style");i.type="text/css",i.innerText=e,document.head.appendChild(i),document.body.appendChild(t),window.addEventListener("scroll",()=>{let e=window.scrollY||document.documentElement.scrollTop;e>300?(t.style.opacity="1",t.style.visibility="visible"):(t.style.opacity="0",t.style.visibility="hidden")}),t.addEventListener("click",()=>{window.scrollTo({top:0,behavior:"smooth"})})}();
     </script>
 </body>
 </html>